Class Shop_Purchase_Discount_Model
Shop_Purchase_Discount_Model
- Core_ORM
-
Core_Entity
-
Shop_Purchase_Discount_Model
Copyright: © 2005-2021 ООО "Хостмэйк" (Hostmake LLC), http://www.hostcms.ru
Author: Hostmake LLC
Version: 6.x
Located at shop/purchase/discount/model.php
Methods summary
public
|
|
public
|
|
public
float
|
|
public
array
|
|
public
|
|
public
boolean
|
|
public
|
|
public
|
|
public
|
|
public
string
|
|
public
stdObject
|
|
protected
|
|
public
string
|
#
valueBackend( Admin_Form_Field $oAdmin_Form_Field,
Backend callback method |
public
string
|
|
public
string
|
#
min_amountBackend( Admin_Form_Field $oAdmin_Form_Field,
Backend callback method |
public
string
|
#
max_amountBackend( Admin_Form_Field $oAdmin_Form_Field,
Backend callback method |
public
|
Methods inherited from Core_Entity
__call(),
_getCopiedName(),
addAllowedTag(),
addEntities(),
addEntity(),
addForbiddenTag(),
addForbiddenTags(),
addXmlTag(),
applyMarksDeleted(),
changeCopiedName(),
clear(),
clearEntities(),
clearEntitiesAfterGetXml(),
clearXmlTags(),
create(),
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
public
|
$shop_purchase_discount_coupon_id
shop_purchase_discount_coupon_id, uses in the getByCouponText() |
#
NULL
|
protected
array
|
$_hasMany
One-to-many or many-to-many relations |
#
array(
'shop_purchase_discount_coupon' => array()
)
|
protected
array
|
$_hasOne
One-to-one relations |
#
array(
'shop' => array()
)
|
protected
array
|
$_preloadValues
List of preloaded values |
#
array(
'active' => 1,
'value' => 0,
'min_amount' => 0,
'max_amount' => 0,
'min_count' => 0,
'max_count' => 0
)
|
protected
array
|
$_belongsTo
Belongs to relations |
#
array(
'shop' => array(),
'shop_currency' => array(),
'user' => array()
)
|
protected
float
|
$_discountAmount
Order's discount Расчитанный размер скидки для заказа |
#
NULL
|
Properties inherited from Core_Entity
$_allowedTags,
$_cacheAllowedTags,
$_cacheFieldIDs,
$_cacheForbiddenTags,
$_cacheShortcodeTags,
$_changeCopiedName,
$_check,
$_childrenEntities,
$_clearEntitiesAfterGetXml,
$_forbiddenTags,
$_hasRevisions,
$_marksDeleted,
$_nameColumn,
$_shortcodeTags,
$_tagName,
$_typicalForbiddenTags,
$_xmlTags
Properties inherited from Core_ORM
$_bSetPreloadValues,
$_changedColumns,
$_columnCache,
$_columnCacheDefaultValues,
$_dataValues,
$_database,
$_databaseDriver,
$_loaded,
$_modelColumns,
$_modelName,
$_primaryKey,
$_queryBuilder,
$_relationCache,
$_relationModelCache,
$_relations,
$_saved,
$_skipColumns,
$_sorting,
$_tableColumns,
$_tableName,
$cache,
$columnCache,
$config,
$relationCache