Interface luya\admin\base\DashboardObjectInterface
Dashboard Interface which all Dashboard Objects needs to implement.
Public Methods
Method | Description | Defined By |
---|---|---|
getDataApiUrl() | Get the API Url. | luya\admin\base\DashboardObjectInterface |
getTemplate() | Returns the template string. | luya\admin\base\DashboardObjectInterface |
getTitle() | Get the Title. | luya\admin\base\DashboardObjectInterface |
Method Details
Get the API Url.
public abstract string getDataApiUrl ( ) | ||
return | string |
Returns the api url where the dashboard object collect its data from, which then will be injected into the template in order to render. |
---|
public function getDataApiUrl();
Returns the template string.
The string is an angular template which can contain angular conditions like ng-repeat, ng-if, etc.
public abstract string getTemplate ( ) | ||
return | string |
The angular template. |
---|
public function getTemplate();