PHP Class skeeks\cms\controllers\AdminCmsContentElementController

Inheritance: extends skeeks\cms\modules\admin\controllers\AdminModelEditorController, use trait skeeks\cms\modules\admin\traits\AdminModelEditorStandartControllerTrait
显示文件 Open project: skeeks-cms/cms Class Usage Examples

Protected Properties

Property Type Description
$_content skeeks\cms\models\CmsContent

Public Methods

Method Description
actions ( )
beforeAction ( $action )
create ( skeeks\cms\modules\admin\actions\AdminAction $adminAction )
eachMultiChangeTree ( CmsContentElement $model, $action ) : boolean
eachMultiChangeTrees ( CmsContentElement $model, $action ) : boolean
eachRelatedProperties ( $model, $action )
getColumns ( $cmsContent = null, $dataProvider = null ) : array
getColumnsByContent ( CmsContent $cmsContent = null, $dataProvider = null ) : array
getContent ( ) : CmsContent | static
getDefaultColumns ( CmsContent $cmsContent = null ) : array
getIndexUrl ( ) : string
getPermissionName ( ) : string
init ( )
setContent ( $content )
update ( skeeks\cms\modules\admin\actions\AdminAction $adminAction )

Method Details

actions() public method

public actions ( )

beforeAction() public method

public beforeAction ( $action )

create() public method

public create ( skeeks\cms\modules\admin\actions\AdminAction $adminAction )
$adminAction skeeks\cms\modules\admin\actions\AdminAction

eachMultiChangeTree() public method

public eachMultiChangeTree ( CmsContentElement $model, $action ) : boolean
$model skeeks\cms\models\CmsContentElement
$action
return boolean

eachMultiChangeTrees() public method

public eachMultiChangeTrees ( CmsContentElement $model, $action ) : boolean
$model skeeks\cms\models\CmsContentElement
$action
return boolean

eachRelatedProperties() public method

public eachRelatedProperties ( $model, $action )

getColumns() public static method

public static getColumns ( $cmsContent = null, $dataProvider = null ) : array
return array

getColumnsByContent() public static method

public static getColumnsByContent ( CmsContent $cmsContent = null, $dataProvider = null ) : array
$cmsContent skeeks\cms\models\CmsContent
return array

getContent() public method

public getContent ( ) : CmsContent | static
return skeeks\cms\models\CmsContent | static

getDefaultColumns() public static method

public static getDefaultColumns ( CmsContent $cmsContent = null ) : array
$cmsContent skeeks\cms\models\CmsContent
return array

getIndexUrl() public method

public getIndexUrl ( ) : string
return string

getPermissionName() public method

public getPermissionName ( ) : string
return string

init() public method

public init ( )

setContent() public method

public setContent ( $content )
$content

update() public method

public update ( skeeks\cms\modules\admin\actions\AdminAction $adminAction )
$adminAction skeeks\cms\modules\admin\actions\AdminAction

Property Details

$_content protected_oe property

protected CmsContent,skeeks\cms\models $_content
return skeeks\cms\models\CmsContent