Documentation

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
since
5.1
access

public

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
since
5.1
access

public

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
since
6.0.0
access

public

filters()

Renders a filter dropdown

public static filters(mixed $state, mixed $filters) : mixed
Parameters
$state : mixed
$filters : mixed
Tags
since
5.1
access

public

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
since
6.0.0
access

public

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
since
5.1
access

public

miniHeading()

Render mini heading on the dashboard

public miniHeading(mixed $title[, mixed $desc = null ]) : mixed
Parameters
$title : mixed
$desc : mixed = null
Tags
since
5.1
access

public

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
since
5.1
access

public

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
since
6.0.0
access

public

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 = []
Tags
since
5.1
access

public


        
On this page

Search results