Interface luya\admin\ngrest\ConfigInterface
Implemented by | luya\admin\ngrest\Config |
---|---|
Available since version | 1.0.0 |
Source Code | https://github.com/luyadev/luya-module-admin/blob/master/src/ngrest/ConfigInterface.php |
NgRest Config Interface
Public Methods
Method Details
Get an array with the button configuration like hash, label and icon.
public abstract array getActiveButtons ( ) | ||
return | array |
An array with hash, label and icon key. |
---|
public function getActiveButtons();
Returns an array with object instance of {{luya\admin\ngrest\base\ActiveSelection}}
public abstract luya\admin\ngrest\base\ActiveSelection[] getActiveSelections ( ) |
public function getActiveSelections();
Determine whether the groups are expanded by default or not.
If enabled, the groups are expanded otherwise they are collapsed.
public abstract boolean getGroupByExpanded ( ) |
public function getGroupByExpanded();
public abstract void setAttributeLabels ( array $labels ) | ||
$labels |
public function setAttributeLabels(array $labels);
public abstract void setDefaultOrder ( $defaultOrder ) | ||
$defaultOrder |
public function setDefaultOrder($defaultOrder);