Class Informationsystem_Item_Model
Informationsystem_Item_Model
- Core_ORM
- Core_Entity
- Informationsystem_Item_Model
Copyright: © 2005-2021 ООО "Хостмэйк" (Hostmake LLC), http://www.hostcms.ru
Author: Hostmake LLC
Version: 6.x
Located at informationsystem/item/model.php
Methods summary
public
|
|
public
|
|
public
|
|
public
|
|
public
array
|
#
getPropertyValues( boolean $bCache = TRUE, array $aPropertiesId = array() )
Values of all properties of item Значения всех свойств товара |
protected
|
|
public
|
|
public
array
|
|
public
Informationsystem_Item|null
|
|
public
|
|
public
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
string
|
|
public
integer
|
|
public
string
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
#
showXmlSiteuserProperties( boolean $showXmlSiteuserProperties = TRUE )
Show siteuser properties in XML |
public
|
|
public
|
#
showXmlCommentProperties( boolean $showXmlCommentProperties = TRUE )
Show siteuser properties in XML |
public
|
|
public
|
|
public
|
|
public
string
|
|
public
stdObject
|
|
protected
|
|
protected
|
|
public
|
|
public
|
|
public
string
|
#
reviewsBadge( Admin_Form_Field $oAdmin_Form_Field,
Backend badge |
public
|
|
public
|
|
public
string
|
|
public
string
|
#
propertyValue( integer $property_id, strint $format = '%2$s', integer $separator = ', ' )
Get property value for SEO-templates |
public
|
|
public
boolean
|
Methods inherited from Core_Entity
__call()
,
_getCopiedName()
,
addAllowedTag()
,
addEntities()
,
addEntity()
,
addForbiddenTag()
,
addForbiddenTags()
,
addXmlTag()
,
applyMarksDeleted()
,
changeCopiedName()
,
clear()
,
clearEntities()
,
clearEntitiesAfterGetXml()
,
clearXmlTags()
,
factory()
,
find()
,
findAll()
,
getCount()
,
getEntities()
,
getFieldIDs()
,
getFields()
,
getForbiddenTags()
,
getMarksDeleted()
,
getName()
,
getNameColumn()
,
getRelations()
,
getTableColums()
,
getTrashDescription()
,
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()
,
setDatabaseDriver()
,
setRelations()
,
setValues()
,
toArray()
Properties summary
protected
mixed
|
$_modelName
Model name |
#
'informationsystem_item'
|
public
integer
|
$reviews
Callback property_id |
#
1
|
protected
array
|
$_hasMany
One-to-many or many-to-many relations |
#
array(
'informationsystem_item' => array('foreign_key' => 'shortcut_id'),
'tag' => array('through' => 'tag_informationsystem_item'),
'tag_informationsystem_item' => array(),
'comment' => array('through' => 'comment_informationsystem_item'),
'vote' => array('through' => 'vote_informationsystem_item')
)
|
protected
array
|
$_belongsTo
Belongs to relations |
#
array(
'informationsystem' => array(),
'informationsystem_group' => array(),
'informationsystem_item' => array('foreign_key' => 'shortcut_id'),
'siteuser' => array(),
'siteuser_group' => array(),
'user' => array()
)
|
protected
array
|
$_forbiddenTags
Forbidden tags. If list of tags is empty, all tags will show. |
#
array(
'deleted',
'user_id',
'datetime',
'start_datetime',
'end_datetime'
)
|
protected
array
|
$_shortcodeTags
List of Shortcodes tags |
#
array(
'description',
'text'
)
|
protected
array
|
$_preloadValues
List of preloaded values |
#
array(
'sorting' => 0,
'indexing' => 1,
'siteuser_id' => 0,
'active' => 1,
'showed' => 0,
'shortcut_id' => 0,
'siteuser_group_id' => -1,
'start_datetime' => '0000-00-00 00:00:00',
'end_datetime' => '0000-00-00 00:00:00',
'image_large' => '',
'image_small' => ''
)
|
protected
array
|
$_sorting
Default sorting for models |
#
array(
'informationsystem_items.sorting' => 'ASC',
//'informationsystem_items.name' => 'ASC',
)
|
protected
boolean
|
$_hasRevisions
Has revisions |
#
TRUE
|
protected
boolean
|
$_incCountByCreate
Inc items'count in group during creating item |
#
TRUE
|
protected
array
|
$_propertyValues
Values of all properties of item |
#
NULL
|
protected
boolean
|
$_showXmlComments
Show comments data in XML |
#
FALSE
|
protected
boolean
|
$_showXmlCommentsRating
Show comments rating data in XML |
#
FALSE
|
protected
string
|
$_commentsActivity
What comments show in XML? (active|inactive|all) |
#
'active'
|
protected
boolean
|
$_showXmlTags
Show tags data in XML |
#
FALSE
|
protected
boolean
|
$_showXmlSiteuser
Show user data in XML |
#
FALSE
|
protected
boolean
|
$_showXmlVotes
Show votes in XML |
#
FALSE
|
protected
boolean
|
$_showXmlSiteuserProperties
Show siteuser properties in XML |
#
FALSE
|
protected
boolean
|
$_showXmlProperties
Show properties in XML |
#
FALSE
|
protected
boolean
|
$_showXmlCommentProperties
Show siteuser properties in XML |
#
FALSE
|
protected
integer
|
$_showXmlPart
Showing part of text in XML |
#
1
|
protected
array
|
$_aComments
Array of comments, [parent_id] => array(comments) |
#
array()
|
Properties inherited from Core_Entity
$_allowedTags
,
$_cacheAllowedTags
,
$_cacheFieldIDs
,
$_cacheForbiddenTags
,
$_cacheShortcodeTags
,
$_changeCopiedName
,
$_check
,
$_childrenEntities
,
$_clearEntitiesAfterGetXml
,
$_marksDeleted
,
$_nameColumn
,
$_tagName
,
$_typicalForbiddenTags
,
$_xmlTags
Properties inherited from Core_ORM
$_bSetPreloadValues
,
$_changedColumns
,
$_columnCache
,
$_columnCacheDefaultValues
,
$_dataValues
,
$_database
,
$_databaseDriver
,
$_hasOne
,
$_loaded
,
$_modelColumns
,
$_primaryKey
,
$_queryBuilder
,
$_relationCache
,
$_relationModelCache
,
$_relations
,
$_saved
,
$_skipColumns
,
$_tableColumns
,
$_tableName
,
$cache
,
$columnCache
,
$config
,
$relationCache