PHP Class skeeks\cms\widgets\tree\CmsTreeWidget

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

Public Properties

Property Type Description
$autoIdPrefix
$contextData Additional information in the context of a call widget
$models Nodes for which to build a tree.
$openedRequestName string
$options Widget wrapper options
$pjax yii\widgets\Pjax
$pjaxClass
$pjaxOptions
$sessionName Widget session param name
$viewFile Widget view file
$viewNodeContentFile Inner node content file
$viewNodeFile Widget one node view file

Protected Properties

Property Type Description
$_pjaxIsStart

Public Methods

Method Description
getNodeName ( $model ) : string
getOpenCloseLink ( $model )
getOpenedIds ( ) : array
init ( )
isOpenNode ( $model ) : boolean Нода для этой модели открыта?
registerAssets ( )
renderNode ( $model ) : string
renderNodeContent ( $model ) : string
renderNodes ( $models ) : string
run ( ) : string

Protected Methods

Method Description
_beginPjax ( )
_endPjax ( )

Method Details

_beginPjax() protected method

protected _beginPjax ( )

_endPjax() protected method

protected _endPjax ( )

getNodeName() public method

public getNodeName ( $model ) : string
$model
return string

getOpenedIds() public method

public getOpenedIds ( ) : array
return array

init() public method

public init ( )

isOpenNode() public method

Нода для этой модели открыта?
public isOpenNode ( $model ) : boolean
$model
return boolean

registerAssets() public method

public registerAssets ( )

renderNode() public method

public renderNode ( $model ) : string
$model
return string

renderNodeContent() public method

public renderNodeContent ( $model ) : string
$model
return string

renderNodes() public method

public renderNodes ( $models ) : string
$models
return string

run() public method

public run ( ) : string
return string

Property Details

$_pjaxIsStart protected property

protected $_pjaxIsStart

$autoIdPrefix public static property

public static $autoIdPrefix

$contextData public property

Additional information in the context of a call widget
public $contextData

$models public property

Nodes for which to build a tree.
public $models

$openedRequestName public property

public string $openedRequestName
return string

$options public property

Widget wrapper options
public $options

$pjax public property

public Pjax,yii\widgets $pjax
return yii\widgets\Pjax

$pjaxClass public property

public $pjaxClass

$pjaxOptions public property

public $pjaxOptions

$sessionName public property

Widget session param name
public $sessionName

$viewFile public property

Widget view file
public $viewFile

$viewNodeContentFile public property

Inner node content file
public $viewNodeContentFile

$viewNodeFile public property

Widget one node view file
public $viewNodeFile