PHP Class skeeks\cms\models\CmsContentElement

Inheritance: extends skeeks\cms\relatedProperties\models\RelatedElementModel, use trait skeeks\cms\models\behaviors\traits\HasRelatedPropertiesTrait, use trait skeeks\cms\models\behaviors\traits\HasTreesTrait, use trait skeeks\cms\models\behaviors\traits\HasUrlTrait
Show file Open project: skeeks-cms/cms Class Usage Examples

Public Methods

Method Description
_afterDeleteE ( $e )
_beforeDeleteE ( $e )
attributeHints ( )
attributeLabels ( )
behaviors ( ) : array
getAbsoluteUrl ( $scheme = false, $params = [] ) : string
getChildrenContentElements ( ) : ActiveQuery version > 2.4.8
getCmsContent ( ) : ActiveQuery
getCmsContentElement2cmsUsers ( ) : ActiveQuery version > 2.6.1
getCmsContentElementFiles ( ) : ActiveQuery
getCmsContentElementImages ( ) : ActiveQuery
getCmsContentElementProperties ( ) : ActiveQuery
getCmsContentElementTrees ( ) : ActiveQuery
getCmsContentProperties ( ) : ActiveQuery
getCmsTree ( ) : ActiveQuery
getFiles ( ) : ActiveQuery
getFullImage ( ) : ActiveQuery
getImage ( ) : ActiveQuery
getImages ( ) : ActiveQuery
getParentContentElement ( ) : ActiveQuery version > 2.4.8
getPermissionName ( ) : string
getRelatedProperties ( ) : ActiveQuery Все возможные свойства связанные с моделью
getUrl ( $scheme = false, $params = [] ) : string
getUsersToFavorites ( ) : ActiveQuery version > 2.6.1
init ( )
rules ( )
tableName ( )
validateParentContentElement ( $attribute ) : boolean Валидация родительского элемента

Method Details

_afterDeleteE() public method

public _afterDeleteE ( $e )

_beforeDeleteE() public method

public _beforeDeleteE ( $e )

attributeHints() public method

public attributeHints ( )

attributeLabels() public method

public attributeLabels ( )

behaviors() public method

public behaviors ( ) : array
return array

getAbsoluteUrl() public method

public getAbsoluteUrl ( $scheme = false, $params = [] ) : string
return string

getChildrenContentElements() public method

version > 2.4.8
public getChildrenContentElements ( ) : ActiveQuery
return yii\db\ActiveQuery

getCmsContent() public method

public getCmsContent ( ) : ActiveQuery
return yii\db\ActiveQuery

getCmsContentElement2cmsUsers() public method

version > 2.6.1
public getCmsContentElement2cmsUsers ( ) : ActiveQuery
return yii\db\ActiveQuery

getCmsContentElementFiles() public method

public getCmsContentElementFiles ( ) : ActiveQuery
return yii\db\ActiveQuery

getCmsContentElementImages() public method

public getCmsContentElementImages ( ) : ActiveQuery
return yii\db\ActiveQuery

getCmsContentElementProperties() public method

public getCmsContentElementProperties ( ) : ActiveQuery
return yii\db\ActiveQuery

getCmsContentElementTrees() public method

public getCmsContentElementTrees ( ) : ActiveQuery
return yii\db\ActiveQuery

getCmsContentProperties() public method

public getCmsContentProperties ( ) : ActiveQuery
return yii\db\ActiveQuery

getCmsTree() public method

public getCmsTree ( ) : ActiveQuery
return yii\db\ActiveQuery

getFiles() public method

public getFiles ( ) : ActiveQuery
return yii\db\ActiveQuery

getFullImage() public method

public getFullImage ( ) : ActiveQuery
return yii\db\ActiveQuery

getImage() public method

public getImage ( ) : ActiveQuery
return yii\db\ActiveQuery

getImages() public method

public getImages ( ) : ActiveQuery
return yii\db\ActiveQuery

getParentContentElement() public method

version > 2.4.8
public getParentContentElement ( ) : ActiveQuery
return yii\db\ActiveQuery

getPermissionName() public method

public getPermissionName ( ) : string
return string

getRelatedProperties() public method

Все возможные свойства связанные с моделью
public getRelatedProperties ( ) : ActiveQuery
return yii\db\ActiveQuery

getUrl() public method

public getUrl ( $scheme = false, $params = [] ) : string
return string

getUsersToFavorites() public method

version > 2.6.1
public getUsersToFavorites ( ) : ActiveQuery
return yii\db\ActiveQuery

init() public method

public init ( )

rules() public method

public rules ( )

tableName() public static method

public static tableName ( )

validateParentContentElement() public method

Валидация родительского элемента
public validateParentContentElement ( $attribute ) : boolean
$attribute
return boolean