Class Site_Model
Site_Model
- Core_ORM
-
Core_Entity
-
Site_Model
Direct known subclasses
Copyright: © 2005-2021 ООО "Хостмэйк" (Hostmake LLC), http://www.hostcms.ru
Author: Hostmake LLC
Version: 6.x
Located at site/model.php
Methods summary
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
protected
|
|
public
string
|
|
public
string
|
|
public
|
|
public
|
|
public
|
|
public
string
|
|
public
string
|
|
public
array
|
|
public
|
|
public
|
#
showXmlSiteuserIdentityProviders( boolean $showXmlSiteuserIdentityProviders = TRUE )
Show identity providers in XML |
public
string
|
|
public
stdObject
|
|
protected
|
|
public
string
|
#
nameBadge( Admin_Form_Field $oAdmin_Form_Field,
Backend badge |
public
|
|
public
|
|
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(),
setDatabaseDriver(),
setRelations(),
setValues(),
toArray()
Properties summary
public
integer
|
$img
Backend property |
#
1
|
public
integer
|
$domains
Backend property |
#
1
|
protected
array
|
$_forbiddenTags
Forbidden tags. If list of tags is empty, all tags will show. |
#
array(
'deleted',
'user_id',
'robots',
'key',
'error',
'error404',
'error403',
'closed',
'safe_email',
'css_left',
'css_right',
'notes',
'uploaddir',
'nesting_level',
'html_cache_use',
'html_cache_with',
'html_cache_without',
'html_cache_clear_probability',
)
|
protected
array
|
$_hasMany
One-to-many or many-to-many relations |
#
array(
'affiliate_plan' => array(),
'advertisement' => array(),
'advertisement_group' => array(),
'benchmark' => array(),
'cloud' => array(),
'company_department_action_access' => array(),
'company_department_module' => array(),
'company_site' => array(),
'company' => array('through' => 'company_site'),
'counter' => array(),
'counter_browser' => array(),
'counter_device' => array(),
'counter_display' => array(),
'counter_os' => array(),
'counter_page' => array(),
'counter_referrer' => array(),
'counter_searchquery' => array(),
'counter_session' => array(),
'counter_useragent' => array(),
'counter_visit' => array(),
'cdn_site' => array(),
'document' => array(),
'document_dir' => array(),
'document_status' => array(),
'form' => array(),
'forum' => array(),
'helpdesk' => array(),
'informationsystem' => array(),
'informationsystem_dir' => array(),
'list' => array(),
'list_dir' => array(),
'maillist' => array(),
'poll_group' => array(),
'search_log' => array(),
'search_page' => array(),
'seo_site' => array(),
'shop' => array(),
'shop_dir' => array(),
'siteuser' => array(),
'siteuser_property' => array(),
'siteuser_property_dir' => array(),
'siteuser_group' => array(),
'siteuser_identity_provider' => array(),
'siteuser_relationship_type' => array(),
'site_alias' => array(),
'structure' => array(),
'structure_property' => array(),
'structure_property_dir' => array(),
'structure_menu' => array(),
'template' => array(),
'template_dir' => array(),
'shortlink' => array(),
'shortlink_dir' => array(),
'deal' => array(),
'deal_template' => array(),
'lead' => array(),
'lead_need' => array(),
'lead_maturity' => array(),
'lead_status' => array(),
'field' => array(),
)
|
protected
array
|
$_belongsTo
Belongs to relations |
#
array(
'user' => array()
)
|
protected
array
|
$_sorting
Default sorting for models |
#
array(
'sites.sorting' => 'ASC',
'sites.name' => 'ASC'
)
|
protected
array
|
$_preloadValues
List of preloaded values |
#
array(
'name' => '',
'active' => 1,
'coding' => 'UTF-8',
'sorting' => 0,
'locale' => 'ru_RU.utf8',
'max_size_load_image' => 70,
'max_size_load_image_big' => 300,
'send_attendance_report' => 1,
'date_format' => '%d.%m.%Y',
'date_time_format' => '%d.%m.%Y %H:%M:%S',
'error' => 'E_ALL',
'error404' => 0,
'error403' => 0,
'robots' => "User-Agent: *\nDisallow: /admin\nDisallow: /search\nDisallow: /templates\nDisallow: /showbanner\nDisallow: /captcha.php\nDisallow: /403\nDisallow: /404\nAllow: /hostcmsfiles/css/*\nAllow: /hostcmsfiles/js/*\nAllow: /hostcmsfiles/jquery/*",
'closed' => 0,
'protect' => 1,
'safe_email' => 1,
'html_cache_use' => 0,
'html_cache_with' => '/*',
'html_cache_clear_probability' => 10000,
'uploaddir' => 'upload/',
'nesting_level' => 3,
'timezone' => ''
)
|
protected
|
$_currentAlias
Current alias |
#
NULL
|
protected
boolean
|
$_showXmlAlias
Show alias data in XML |
#
FALSE
|
protected
boolean
|
$_showXmlSiteuserIdentityProviders
Show identity providers data in XML |
#
FALSE
|
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,
$_hasOne,
$_loaded,
$_modelColumns,
$_modelName,
$_primaryKey,
$_queryBuilder,
$_relationCache,
$_relationModelCache,
$_relations,
$_saved,
$_skipColumns,
$_tableColumns,
$_tableName,
$cache,
$columnCache,
$config,
$relationCache