Class CMSUserRole
Class CMSUserRole definition.
- Core\Base\Model
-
CMS\Models\CMSUserRole implements Core\Modules\DB\Decorators\Interfaces\Serialization, Core\Modules\DB\Decorators\Interfaces\TimezoneAwareness
Methods summary
public static
array
|
|
public static
array
|
Methods inherited from Core\Base\Model
__call()
,
__construct()
,
__get()
,
__isset()
,
__set()
,
__unset()
,
afterCreate()
,
afterDelete()
,
afterPopulate()
,
afterSave()
,
afterUpdate()
,
afterValidate()
,
beforeCreate()
,
beforeDelete()
,
beforePopulate()
,
beforeSave()
,
beforeUpdate()
,
beforeValidate()
,
delete()
,
detach()
,
errors()
,
exists()
,
fields()
,
fieldsI18N()
,
find()
,
fire()
,
getAssociationMetaDataByKey()
,
getError()
,
getI18nLocale()
,
getI18nSchema()
,
getPrimaryKeyValue()
,
getSchema()
,
hasErrors()
,
i18nForeignKeyField()
,
i18nLocaleField()
,
isNewRecord()
,
listeners()
,
on()
,
primaryKeyField()
,
removeError()
,
save()
,
setError()
,
setI18nLocale()
Properties summary
public static
string
|
$tableName
Table storage name. |
#
'cms_userroles'
|
public
array
|
$hasMany
Has many associations definition. |
#
array(
'users' => array(
'table' => 'cms_users',
'key' => 'id',
'relative_key' => 'role_id',
'class_name' => 'CMS\Models\CMSUser',
),
)
|
Properties inherited from Core\Base\Model
$belongsTo
,
$errors
,
$fields
,
$fieldsI18n
,
$hasAndBelongsToMany
,
$i18nForeignKeyField
,
$i18nJoinType
,
$i18nLocale
,
$i18nLocaleField
,
$i18nLocalisation
,
$i18nTableName
,
$i18nTableNameSuffix
,
$isI18n
,
$listeners
,
$primaryKeyField
,
$query