PHP Class RainLab\Pages\Widgets\MenuList

Author: Alexey Bobkov, Samuel Georges
Inheritance: extends Backend\Classes\WidgetBase, use trait Backend\Traits\SearchableWidget, use trait Backend\Traits\SelectableWidget
显示文件 Open project: rainlab/pages-plugin

Public Properties

Property Type Description
$deleteConfirmation Message to display when the Delete button is clicked.
$noRecordsMessage

Protected Properties

Property Type Description
$dataIdPrefix
$theme

Public Methods

Method Description
__construct ( $controller, $alias )
onSearch ( )
onUpdate ( )
render ( ) : string Renders the widget.

Protected Methods

Method Description
getData ( )
getSession ( $key = null, $default = null )
getThemeSessionKey ( $prefix )
putSession ( $key, $value )
updateList ( )

Method Details

__construct() public method

public __construct ( $controller, $alias )

getData() protected method

protected getData ( )

getSession() protected method

protected getSession ( $key = null, $default = null )

getThemeSessionKey() protected method

protected getThemeSessionKey ( $prefix )

onSearch() public method

public onSearch ( )

onUpdate() public method

public onUpdate ( )

putSession() protected method

protected putSession ( $key, $value )

render() public method

Renders the widget.
public render ( ) : string
return string

updateList() protected method

protected updateList ( )

Property Details

$dataIdPrefix protected_oe property

protected $dataIdPrefix

$deleteConfirmation public_oe property

Message to display when the Delete button is clicked.
public $deleteConfirmation

$noRecordsMessage public_oe property

public $noRecordsMessage

$theme protected_oe property

protected $theme