Class Shop_Company_Model
Shop_Company_Model
- Core_ORM
- Core_Entity
- Company_Model
- Shop_Company_Model
Copyright: © 2005-2021 ООО "Хостмэйк" (Hostmake LLC), http://www.hostcms.ru
Author: Hostmake LLC
Version: 6.x
Located at shop/company/model.php
Methods summary
public
string
|
|
public
stdObject
|
|
protected
|
|
public
mixed
|
|
public
mixed
|
#
__call( string $name, array $arguments )
Triggered when invoking inaccessible methods in an object context |
public
boolean
|
Methods inherited from Company_Model
__construct()
,
activityBadge()
,
addCml()
,
delete()
,
fillDepartments()
,
fillDepartmentsAndUsers()
,
getDepartmentUsersPostsTree()
,
getFullAddress()
,
getPhone()
,
getUsersOptions()
,
locationBadge()
,
nameBadge()
,
showDepartmentsAndUsers4DealTemplateStepAccess()
,
structureBadge()
Methods inherited from Core_Entity
_getCopiedName()
,
addAllowedTag()
,
addEntities()
,
addEntity()
,
addForbiddenTag()
,
addForbiddenTags()
,
addXmlTag()
,
applyMarksDeleted()
,
changeCopiedName()
,
clear()
,
clearEntities()
,
clearEntitiesAfterGetXml()
,
clearXmlTags()
,
copy()
,
create()
,
factory()
,
find()
,
findAll()
,
getCount()
,
getEntities()
,
getFieldIDs()
,
getFields()
,
getForbiddenTags()
,
getMarksDeleted()
,
getName()
,
getNameColumn()
,
getRelatedSite()
,
getRelations()
,
getTableColums()
,
getTrashDescription()
,
getXmlTagName()
,
getXmlTags()
,
markDeleted()
,
removeForbiddenTag()
,
setCheck()
,
setMarksDeleted()
,
setXmlTagName()
,
undelete()
,
update()
Methods inherited from Core_ORM
__clone()
,
__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
|
$_modelName
Model name |
#
'shop_company'
|
protected
mixed
|
$_tableName
Table name |
#
'companies'
|
protected
string
|
$_tagName
Name of the tag in XML |
#
'shop_company'
|
protected
array
|
$_forbiddenTags
Forbidden tags. If list of tags is empty, all tags will show. |
#
array(
'deleted',
'user_id',
/*'~address',
'~phone',
'~fax',
'~site',
'~email'*/
)
|
protected static
array
|
$_oldFields
|
#
array('address', 'phone', 'fax', 'site', 'email')
|
Properties inherited from Company_Model
$_aDepartmentsTree
,
$_belongsTo
,
$_hasMany
,
$activity
,
$location
,
$structure
Properties inherited from Core_Entity
$_allowedTags
,
$_cacheAllowedTags
,
$_cacheFieldIDs
,
$_cacheForbiddenTags
,
$_cacheShortcodeTags
,
$_changeCopiedName
,
$_check
,
$_childrenEntities
,
$_clearEntitiesAfterGetXml
,
$_hasRevisions
,
$_marksDeleted
,
$_nameColumn
,
$_shortcodeTags
,
$_typicalForbiddenTags
,
$_xmlTags
Properties inherited from Core_ORM
$_bSetPreloadValues
,
$_changedColumns
,
$_columnCache
,
$_columnCacheDefaultValues
,
$_dataValues
,
$_database
,
$_databaseDriver
,
$_hasOne
,
$_loaded
,
$_modelColumns
,
$_preloadValues
,
$_primaryKey
,
$_queryBuilder
,
$_relationCache
,
$_relationModelCache
,
$_relations
,
$_saved
,
$_skipColumns
,
$_sorting
,
$_tableColumns
,
$cache
,
$columnCache
,
$config
,
$relationCache