EasyBlogThemesHelperDashboard
in package
Table of Contents
Methods
- action() : mixed
- checkall() : mixed
- Renders a check all button
- checkbox() : mixed
- Generates a checkbox in a table
- emptyList() : mixed
- Renders the empty list for the dashboard
- filters() : mixed
- Renders a filter dropdown
- headers() : mixed
- Renders the headers for the dashboard that includes the snackbars
- heading() : mixed
- Deprecated. Use dashboard.headers instead
- label() : mixed
- Renders label form
- miniHeading() : mixed
- Render mini heading on the dashboard
- sort() : mixed
- Renders a filter dropdown
- stats() : mixed
- Render statistics card on the dashboard overview page.
- text() : mixed
- Render text form
Methods
action()
public
static action(mixed $title, mixed $action[, mixed $type = 'dialog' ]) : mixed
Parameters
- $title : mixed
- $action : mixed
- $type : mixed = 'dialog'
checkall()
Renders a check all button
public
static checkall([mixed $disabled = false ]) : mixed
Parameters
- $disabled : mixed = false
Tags
checkbox()
Generates a checkbox in a table
public
static checkbox(mixed $element, mixed $value[, mixed $options = [] ]) : mixed
Parameters
- $element : mixed
- $value : mixed
- $options : mixed = []
Tags
emptyList()
Renders the empty list for the dashboard
public
emptyList(mixed $title[, mixed $description = '' ][, mixed $options = [] ]) : mixed
Parameters
- $title : mixed
- $description : mixed = ''
- $options : mixed = []
Tags
filters()
Renders a filter dropdown
public
static filters(mixed $state, mixed $filters) : mixed
Parameters
- $state : mixed
- $filters : mixed
Tags
headers()
Renders the headers for the dashboard that includes the snackbars
public
headers(mixed $heading[, mixed $actions = null ][, mixed $search = null ][, mixed $filters = [] ]) : mixed
Parameters
- $heading : mixed
- $actions : mixed = null
- $search : mixed = null
- $filters : mixed = []
Tags
heading()
Deprecated. Use dashboard.headers instead
public
heading(mixed $title, mixed $icon[, mixed $action = false ]) : mixed
Parameters
- $title : mixed
- $icon : mixed
- $action : mixed = false
label()
Renders label form
public
label(mixed $text[, mixed $id = null ]) : mixed
Parameters
- $text : mixed
- $id : mixed = null
Tags
miniHeading()
Render mini heading on the dashboard
public
miniHeading(mixed $title[, mixed $desc = null ]) : mixed
Parameters
- $title : mixed
- $desc : mixed = null
Tags
sort()
Renders a filter dropdown
public
static sort(mixed $label, mixed $column, mixed $ordering[, mixed $currentSort = '' ][, mixed $default = 'desc' ]) : mixed
Parameters
- $label : mixed
- $column : mixed
- $ordering : mixed
- $currentSort : mixed = ''
- $default : mixed = 'desc'
Tags
stats()
Render statistics card on the dashboard overview page.
public
stats(mixed $label, mixed $count, mixed $icon[, mixed $url = null ]) : mixed
Due to the front end differences in EasyBlog, which does not have the #fd wrapper, we cannot rely on stats.card from foundry
Parameters
- $label : mixed
- $count : mixed
- $icon : mixed
- $url : mixed = null
Tags
text()
Render text form
public
text(mixed $name[, mixed $value = '' ][, mixed $id = null ][, mixed $options = [] ]) : mixed
Parameters
- $name : mixed
- $value : mixed = ''
- $id : mixed = null
- $options : mixed = []