Class Shop_Order_Model
Shop_Order_Model
- Core_ORM
-
Core_Entity
-
Shop_Order_Model
Copyright: © 2005-2021 ООО "Хостмэйк" (Hostmake LLC), http://www.hostcms.ru
Author: Hostmake LLC
Version: 6.x
Located at shop/order/model.php
Methods summary
public
|
|
public
|
|
public
string
|
#
companyBadge( Admin_Form_Field $oAdmin_Form_Field,
Backend badge |
public
|
|
public
|
|
public
|
|
public
float
|
|
public
float
|
|
public
float
|
|
public
string
|
|
public
float
|
|
public
string
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
boolean
|
|
public
array
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
string
|
|
public
stdObject
|
|
protected
|
|
protected
|
|
public
|
|
protected
|
|
protected
|
|
public
|
|
public
|
|
protected
|
|
public
|
|
public
|
|
protected
|
#
_paidTransaction( )
Списание или возврат товара на склад, начисление и стронирование операций по лицевому счету |
public
|
|
public
|
|
public
string
|
|
public
string
|
|
public
|
|
public
array
|
#
getPropertyValues( boolean $bCache = TRUE )
Values of all properties of item Значения всех свойств товара |
public
|
|
public
|
|
public
|
|
public
string
|
|
public
|
|
public
string
|
#
order_itemsBadge( Admin_Form_Field $oAdmin_Form_Field,
Backend badge |
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
integer
|
|
public
integer
|
|
public
integer
|
|
public
string
|
#
shop_order_status_idBackend( $oAdmin_Form_Field, $oAdmin_Form_Controller )
Backend callback method |
public
array
|
|
public
string
|
#
propertyValue( integer $property_id, strint $format = '%2$s', string $separator = ', ' )
Get property value for SEO-templates |
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
array
|
|
public
|
|
public
|
|
public
string
|
|
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(),
getXmlTagName(),
getXmlTags(),
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()
Constants summary
integer |
TYPE
|
#
5
|
Properties summary
protected
array
|
$_propertyValues
Values of all properties of item |
#
NULL
|
public
integer
|
$order_items
Backend property |
#
1
|
protected
string
|
$_nameColumn
Column consist item's name |
#
'invoice'
|
protected
array
|
$_hasMany
One-to-many or many-to-many relations |
#
array(
'shop_order_item' => array(),
'shop_item_reserved' => array(),
'shop_siteuser_transaction' => array(),
'shop_discountcard_bonus' => array(),
'shop_purchase_discount_coupon' => array(),
'shop_order_history' => array()
)
|
protected
array
|
$_preloadValues
List of preloaded values |
#
array(
'shop_country_location_city_area_id' => 0,
'shop_country_location_city_id' => 0,
'shop_country_location_id' => 0,
'shop_country_id' => 0,
'unloaded' => 0
)
|
protected
array
|
$_belongsTo
Belongs to relations |
#
array(
'shop' => array(),
'shop_company' => array('model' => 'Company', 'foreign_key' => 'company_id'),
'shop_country_location' => array(),
'shop_country' => array(),
'shop_country_location_city' => array(),
'shop_country_location_city_area' => array(),
'shop_delivery' => array(),
'shop_delivery_condition' => array(),
'siteuser' => array(),
'shop_currency' => array(),
'shop_order_status' => array(),
'shop_payment_system' => array(),
'source' => array(),
'user' => array()
)
|
protected
array
|
$_sorting
Default sorting for models |
#
array(
'shop_orders.datetime' => 'ASC',
)
|
protected
array
|
$_forbiddenTags
Forbidden tags. If list of tags is empty, all tags will show. |
#
array(
'deleted',
'user_id',
'datetime',
'payment_datetime',
'status_datetime',
)
|
protected
boolean
|
$_showXmlCountry
Show countries data in XML |
#
FALSE
|
protected
boolean
|
$_showXmlCurrency
Show currency data in XML |
#
FALSE
|
protected
boolean
|
$_showXmlSiteuser
Show siteuser data in XML |
#
FALSE
|
protected
mixed
|
$_showXmlItems
Show order items data in XML |
#
FALSE
|
protected
boolean
|
$_showXmlDelivery
Show delivery data in XML |
#
FALSE
|
protected
boolean
|
$_showXmlPaymentSystem
Show payment systems data in XML |
#
FALSE
|
protected
boolean
|
$_showXmlOrderStatus
Show order statuses data in XML |
#
FALSE
|
protected
boolean
|
$_showXmlProperties
Show properties in XML |
#
FALSE
|
protected
|
$_oShop_Discountcard
|
#
NULL
|
Properties inherited from Core_Entity
$_allowedTags,
$_cacheAllowedTags,
$_cacheFieldIDs,
$_cacheForbiddenTags,
$_cacheShortcodeTags,
$_changeCopiedName,
$_check,
$_childrenEntities,
$_clearEntitiesAfterGetXml,
$_hasRevisions,
$_marksDeleted,
$_shortcodeTags,
$_tagName,
$_typicalForbiddenTags,
$_xmlTags
Properties inherited from Core_ORM
$_bSetPreloadValues,
$_changedColumns,
$_columnCache,
$_columnCacheDefaultValues,
$_dataValues,
$_database,
$_databaseDriver,
$_hasOne,
$_loaded,
$_modelColumns,
$_modelName,
$_primaryKey,
$_queryBuilder,
$_relationCache,
$_relationModelCache,
$_relations,
$_saved,
$_skipColumns,
$_tableColumns,
$_tableName,
$cache,
$columnCache,
$config,
$relationCache