PHP Class skeeks\cms\models\CmsContent

Inheritance: extends Core, use trait skeeks\cms\traits\ValidateRulesTrait
ファイルを表示 Open project: skeeks-cms/cms Class Usage Examples

Protected Properties

Property Type Description
$_selectData

Public Methods

Method Description
attributeLabels ( )
createElement ( ) : CmsContentElement
getAdminPermissionName ( ) : string
getChildrenContents ( ) : ActiveQuery version > 2.4.8
getCmsContentElements ( ) : ActiveQuery
getCmsContentProperties ( ) : ActiveQuery
getContentType ( ) : ActiveQuery
getDataForSelect ( boolean | false $refetch = false, $contentQueryCallback = null ) : array Данные для мультиселекта с группами типов
getDefaultTree ( ) : ActiveQuery
getOnDeleteOptions ( ) : array
getParentContent ( ) : ActiveQuery version > 2.4.8
getRootTree ( ) : ActiveQuery
rules ( )
tableName ( )

Method Details

attributeLabels() public method

public attributeLabels ( )

createElement() public method

public createElement ( ) : CmsContentElement
return CmsContentElement

getAdminPermissionName() public method

public getAdminPermissionName ( ) : string
return string

getChildrenContents() public method

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

getCmsContentElements() public method

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

getCmsContentProperties() public method

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

getContentType() public method

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

getDataForSelect() public static method

Данные для мультиселекта с группами типов
public static getDataForSelect ( boolean | false $refetch = false, $contentQueryCallback = null ) : array
$refetch boolean | false
return array

getDefaultTree() public method

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

getOnDeleteOptions() public static method

public static getOnDeleteOptions ( ) : array
return array

getParentContent() public method

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

getRootTree() public method

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

rules() public method

public rules ( )

tableName() public static method

public static tableName ( )

Property Details

$_selectData protected_oe static_oe property

protected static $_selectData