Class Property_Model
Property_Model
- Core_ORM
-
Core_Entity
-
Property_Model
Direct known subclasses
Copyright: © 2005-2021 ООО "Хостмэйк" (Hostmake LLC), http://www.hostcms.ru
Author: Hostmake LLC
Version: 6.x
Located at property/model.php
Methods summary
public
|
|
public
array|null
|
|
public
|
|
public
mixed
|
#
getValueById( $valueId )
Получить значение свойства объекта по идентификатору $valueId в таблице значений |
public
mixed
|
#
getValuesByValue( string $value, string $condition = '=', boolean $bCache = TRUE )
Получить значение свойства объекта по значению в таблице значений |
public
Property_Value_Model
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
array
|
|
public
|
|
public
string
|
|
public
stdObject
|
|
protected
|
|
protected
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
string
|
#
nameBadge( Admin_Form_Field $oAdmin_Form_Field,
Backend badge |
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(),
getRelatedSite(),
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
|
$_modelName
Model name |
#
'property'
|
public
integer
|
$img
Backend property |
#
1
|
protected
array
|
$_belongsTo
Belongs to relations |
#
array(
'property_dir' => array(),
'list' => array(),
'informationsystem' => array(),
'shop' => array(),
'user' => array()
)
|
protected
array
|
$_hasMany
One-to-many or many-to-many relations |
#
array(
'property_value_int' => array(),
'property_value_float' => array(),
'property_value_string' => array(),
'property_value_text' => array(),
'property_value_datetime' => array(),
'property_value_file' => array()
)
|
protected
array
|
$_hasOne
One-to-one relations |
#
array(
'structure_property' => array(),
'siteuser_property' => array(),
'informationsystem_item_property' => array(),
'informationsystem_group_property' => array(),
'informationsystem_comment_property' => array(),
'shop_item_property' => array(),
'shop_group_property' => array(),
'shop_order_property' => array(),
'shop_comment_property' => array(),
'deal_template_property' => array()
)
|
protected
array
|
$_forbiddenTags
Forbidden tags. If list of tags is empty, all tags will show. |
#
array(
'deleted',
'user_id',
'list_id',
'informationsystem_id',
'shop_id',
'guid',
'image_large_max_width',
'image_large_max_height',
'image_small_max_width',
'image_small_max_height',
'hide_small_image',
'preserve_aspect_ratio',
'preserve_aspect_ratio_small'
)
|
protected
array
|
$_sorting
Default sorting for models |
#
array(
'properties.sorting' => 'ASC'
)
|
protected
array
|
$_preloadValues
List of preloaded values |
#
array(
'list_id' => 0,
'informationsystem_id' => 0,
'shop_id' => 0,
'type' => 0,
'description' => '',
'tag_name' => '',
'image_large_max_width' => 300,
'image_large_max_height' => 300,
'image_small_max_width' => 70,
'image_small_max_height' => 70,
'default_value' => '',
'hide_small_image' => 0,
'sorting' => 0,
'multiple' => 1,
'indexing' => 1,
'preserve_aspect_ratio' => 1,
'preserve_aspect_ratio_small' => 1
)
|
protected
array
|
$_aAllValues
List of values for property |
#
NULL
|
protected
array
|
$_config
Config |
#
array()
|
protected
array| |
$_limitListItems
Limit List Items in XML |
#
NULL
|
protected
array
|
$_aListItemsTree
_aListItemsTree |
#
array()
|
Properties inherited from Core_Entity
$_allowedTags,
$_cacheAllowedTags,
$_cacheFieldIDs,
$_cacheForbiddenTags,
$_cacheShortcodeTags,
$_changeCopiedName,
$_check,
$_childrenEntities,
$_clearEntitiesAfterGetXml,
$_hasRevisions,
$_marksDeleted,
$_nameColumn,
$_shortcodeTags,
$_tagName,
$_typicalForbiddenTags,
$_xmlTags
Properties inherited from Core_ORM
$_bSetPreloadValues,
$_changedColumns,
$_columnCache,
$_columnCacheDefaultValues,
$_dataValues,
$_database,
$_databaseDriver,
$_loaded,
$_modelColumns,
$_primaryKey,
$_queryBuilder,
$_relationCache,
$_relationModelCache,
$_relations,
$_saved,
$_skipColumns,
$_tableColumns,
$_tableName,
$cache,
$columnCache,
$config,
$relationCache