PHP Class RainLab\Builder\Widgets\ModelList

Author: Alexey Bobkov, Samuel Georges
Inheritance: extends Backend\Classes\WidgetBase, use trait Backend\Traits\SearchableWidget, use trait Backend\Traits\CollapsableWidget
Show file Open project: rainlab/builder-plugin

Public Properties

Property Type Description
$noRecordsMessage

Protected Properties

Property Type Description
$theme

Public Methods

Method Description
__construct ( $controller, $alias )
onSearch ( )
onUpdate ( ) * Event handlers
refreshActivePlugin ( )
render ( ) : string Renders the widget.
updateList ( )

Protected Methods

Method Description
getData ( $pluginVector ) * Methods for the internal use
getModelList ( $pluginCode )
getRenderData ( )

Method Details

__construct() public method

public __construct ( $controller, $alias )

getData() protected method

* Methods for the internal use
protected getData ( $pluginVector )

getModelList() protected method

protected getModelList ( $pluginCode )

getRenderData() protected method

protected getRenderData ( )

onSearch() public method

public onSearch ( )

onUpdate() public method

* Event handlers
public onUpdate ( )

refreshActivePlugin() public method

public refreshActivePlugin ( )

render() public method

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

updateList() public method

public updateList ( )

Property Details

$noRecordsMessage public property

public $noRecordsMessage

$theme protected property

protected $theme