PHP Class skeeks\cms\cmsWidgets\contentElements\ContentElementsCmsWidget

Inheritance: extends skeeks\cms\base\WidgetRenderable
Show file Open project: skeeks-cms/cms Class Usage Examples

Public Properties

Property Type Description
$active
$activeQueryCallback
$contentElementClass
$content_ids
$createdBy
$dataProvider yii\data\ActiveDataProvider
$dataProviderCallback
$enabledActiveTime
$enabledCurrentTree
$enabledCurrentTreeChild
$enabledCurrentTreeChildAll
$enabledPaging Навигация
$enabledPjaxPagination
$enabledRunCache
$enabledSearchParams
$label Дополнительные настройки
$limit Условия для запроса
$options
$order
$orderBy Сортировка
$pageParamName
$pageSize
$pageSizeLimitMax
$pageSizeLimitMin
$runCacheDuration
$search skeeks\cms\models\Search
$tree_ids
$with array

Public Methods

Method Description
attributeLabels ( )
descriptorConfig ( ) *public function init() { print_r($this->attributes); $className = $this->contentElementClass;
getAllIdsForChildren ( Tree $tree ) : array
initDataProvider ( )
renderConfigForm ( ActiveForm $form )
rules ( )

Protected Methods

Method Description
_run ( )

Method Details

_run() protected method

protected _run ( )

attributeLabels() public method

public attributeLabels ( )

descriptorConfig() public static method

echo $className; die; }
public static descriptorConfig ( )

getAllIdsForChildren() public method

public getAllIdsForChildren ( Tree $tree ) : array
$tree skeeks\cms\models\Tree
return array

initDataProvider() public method

public initDataProvider ( )

renderConfigForm() public method

public renderConfigForm ( ActiveForm $form )
$form yii\widgets\ActiveForm

rules() public method

public rules ( )

Property Details

$active public property

public $active

$activeQueryCallback public property

public $activeQueryCallback

$contentElementClass public property

public $contentElementClass

$content_ids public property

public $content_ids

$createdBy public property

public $createdBy

$dataProvider public property

public ActiveDataProvider,yii\data $dataProvider
return yii\data\ActiveDataProvider

$dataProviderCallback public property

public $dataProviderCallback

$enabledActiveTime public property

public $enabledActiveTime

$enabledCurrentTree public property

public $enabledCurrentTree

$enabledCurrentTreeChild public property

public $enabledCurrentTreeChild

$enabledCurrentTreeChildAll public property

public $enabledCurrentTreeChildAll

$enabledPaging public property

Навигация
public $enabledPaging

$enabledPjaxPagination public property

public $enabledPjaxPagination

$enabledRunCache public property

public $enabledRunCache

$enabledSearchParams public property

public $enabledSearchParams

$label public property

Дополнительные настройки
public $label

$limit public property

Условия для запроса
public $limit

$options public property

public $options

$order public property

public $order

$orderBy public property

Сортировка
public $orderBy

$pageParamName public property

public $pageParamName

$pageSize public property

public $pageSize

$pageSizeLimitMax public property

public $pageSizeLimitMax

$pageSizeLimitMin public property

public $pageSizeLimitMin

$runCacheDuration public property

public $runCacheDuration

$tree_ids public property

public $tree_ids

$with public property

public array $with
return array