Class Shop_Cart_Model
Shop_Cart_Model
- Core_ORM
-
Core_Entity
-
Shop_Cart_Model
Copyright: © 2005-2021 ООО "Хостмэйк" (Hostmake LLC), http://www.hostcms.ru
Author: Hostmake LLC
Version: 6.x
Located at shop/cart/model.php
Methods summary
public
|
|
public
string
|
#
nameBackend( Admin_Form_Field $oAdmin_Form_Field,
Backend callback method |
public
string
|
#
restBackend( Admin_Form_Field $oAdmin_Form_Field,
Backend callback method |
public
float
|
|
public
string
|
#
priceBackend( Admin_Form_Field $oAdmin_Form_Field,
Backend callback method |
public
string
|
|
public
|
#
getByShopItemIdAndSiteuserId( integer $shop_item_id, integer $siteuser_id, boolean $bCache = TRUE )
Get Shop_Cart by item $shop_item_id and site user $siteuser_id |
public
array
|
#
getBySiteuserId( integer $siteuser_id, boolean $bCache = TRUE )
Get Shop_Cart by site user $siteuser_id |
public
|
|
public
|
|
public
|
|
public
|
|
public
string
|
|
public
stdObject
|
|
protected
|
|
public
|
|
public
|
Methods inherited from Core_Entity
__call(),
__construct(),
_getCopiedName(),
addAllowedTag(),
addEntities(),
addEntity(),
addForbiddenTag(),
addForbiddenTags(),
addXmlTag(),
applyMarksDeleted(),
changeCopiedName(),
clear(),
clearEntities(),
clearEntitiesAfterGetXml(),
clearXmlTags(),
copy(),
create(),
delete(),
factory(),
find(),
findAll(),
getCount(),
getEntities(),
getFieldIDs(),
getFields(),
getForbiddenTags(),
getMarksDeleted(),
getName(),
getNameColumn(),
getRelations(),
getTableColums(),
getTrashDescription(),
getXmlTagName(),
getXmlTags(),
markDeleted(),
removeForbiddenTag(),
setCheck(),
setMarksDeleted(),
setXmlTagName(),
undelete(),
update()
Methods inherited from Core_ORM
__clone(),
__get(),
__isset(),
__set(),
__toString(),
_convertPropertyValue(),
_getRelation(),
_init(),
_load(),
_loadColumnCacheDefaultValues(),
_loadColumns(),
_onAfterLoad(),
_onBeforeLoad(),
_relations(),
_setDefaultValues(),
_setPreloadValues(),
add(),
changed(),
check(),
chunk(),
clearColumnCache(),
clearRelationCache(),
clearRelationModelCache(),
deleteAll(),
getChangedData(),
getClassName(),
getDatabase(),
getFirst(),
getLast(),
getModelName(),
getPrimaryKey(),
getPrimaryKeyName(),
getTableColumns(),
getTableName(),
isCallable(),
isEmptyPrimaryKey(),
load(),
loaded(),
queryBuilder(),
remove(),
save(),
setDatabaseDriver(),
setRelations(),
setValues(),
toArray()
Properties summary
protected
mixed
|
$_marksDeleted
Disable markDeleted() |
#
NULL
|
public
string
|
$name
Column consist item's name |
#
NULL
|
public
string
|
$postpone_flag
Backend property |
#
NULL
|
public
string
|
$price
Column consist item's price |
#
NULL
|
protected
array
|
$_preloadValues
List of preloaded values |
#
array(
'postpone' => 0,
'quantity' => 0
)
|
protected
array
|
$_belongsTo
Belongs to relations |
#
array(
'shop' => array(),
'shop_item' => array(),
'shop_warehouse' => array(),
'siteuser' => array()
)
|
protected
array
|
$_sorting
Default sorting for models |
#
array(
'shop_carts.id' => 'ASC',
)
|
protected
array
|
$_itemsForbiddenTags
Forbidden tags array |
#
array()
|
protected
boolean
|
$_showXmlProperties
Show properties in XML |
#
FALSE
|
protected
boolean
|
$_showXmlSpecialprices
Show special prices data in XML |
#
FALSE
|
protected
boolean
|
$_showXmlAssociatedItems
Show special prices data in XML |
#
FALSE
|
protected
boolean
|
$_showXmlWarehousesItems
Show items count data in XML |
#
TRUE
|
Properties inherited from Core_Entity
$_allowedTags,
$_cacheAllowedTags,
$_cacheFieldIDs,
$_cacheForbiddenTags,
$_cacheShortcodeTags,
$_changeCopiedName,
$_check,
$_childrenEntities,
$_clearEntitiesAfterGetXml,
$_forbiddenTags,
$_hasRevisions,
$_nameColumn,
$_shortcodeTags,
$_tagName,
$_typicalForbiddenTags,
$_xmlTags
Properties inherited from Core_ORM
$_bSetPreloadValues,
$_changedColumns,
$_columnCache,
$_columnCacheDefaultValues,
$_dataValues,
$_database,
$_databaseDriver,
$_hasMany,
$_hasOne,
$_loaded,
$_modelColumns,
$_modelName,
$_primaryKey,
$_queryBuilder,
$_relationCache,
$_relationModelCache,
$_relations,
$_saved,
$_skipColumns,
$_tableColumns,
$_tableName,
$cache,
$columnCache,
$config,
$relationCache