Class OrderAddonValueStorage
category |
System |
---|---|
package |
Order |
subpackage |
Storages |
__construct(\CI_DB_query_builder $db)
\CI_DB_query_builder
_getContainerType() : string
string
_getExternalFieldsArray() : array
Example: $externalFields = array(); $externalFields['orders']['primary_key'] = 'orders_id'; $externalFields['orders']['fields'] = array( 'customers_ip' => 'customerIp', 'abandonment_download' => 'downloadAbandonmentStatus', 'abandonment_service' => 'serviceAbandonmentStatus', 'cc_type' => 'ccType', 'cc_owner' => 'ccOwner', 'cc_number' => 'ccNumber', 'cc_expires' => 'ccExpires', 'cc_start' => 'ccStart', 'cc_issue' => 'ccIssue', 'cc_cvv' => 'ccCvv' );
return $externalFields;
array
_getExternalValuesByContainerId(\IdType $containerId) : array
_setExternalValues(\IdType $containerId, \KeyValueCollection $values)
deleteValuesByContainerId(\IdType $containerId) : \AbstractAddonValueStorage
getValuesByContainerId(\IdType $containerId) : \KeyValueCollection
setValues(\IdType $containerId, \KeyValueCollection $values) : \AbstractAddonValueStorage
db : \CI_DB_query_builder
var |
---|
\CI_DB_query_builder
externalFields : array
var |
Multidimensional array of database tables with corresponding primary keys and the fields which are relevant for addon values which are not stored in the addon_values_storage table. |
---|
array