class Trash extends View

Traits

Methods

$this
on($trigger, $callback)

Register a new callback.

$this
listen($trigger, $callback)

Register a new listener.

$this
fire($trigger, array $parameters = array())

Fire a set of closures by trigger.

bool
hasCallback($trigger)

Return if the callback exists.

bool
hasListener($trigger)

Return if the listener exists.

array
getAttributes()

Get the attributes.

from  View
$this
setAttributes( array $attributes)

Set the attributes.

from  View
mixed
getHandler()

Get the view handler.

from  View
$this
setHandler($handler)

Set the view handler.

from  View
callable|null|string
getQuery()

Get the query.

from  View
$this
setQuery($query)

Set the query.

from  View
$this
setActive( bool $active)

Set the active flag.

from  View
bool
isActive()

Get the active flag.

from  View
string
getPrefix()

Get the view prefix.

from  View
$this
setPrefix($prefix)

Set the view prefix.

from  View
string
getSlug()

Get the view slug.

from  View
$this
setSlug($slug)

Set the view slug.

from  View
string
getText()

Get the view text.

from  View
$this
setText( string $text)

Set the view text.

from  View
null|string
getIcon()

Get the icon.

from  View
$this
setIcon($icon)

Set the icon.

from  View
null|array
getColumns()

Get the columns.

from  View
$this
setColumns($columns)

Set the columns.

from  View
null|array
getButtons()

Get the buttons.

from  View
$this
setButtons($buttons)

Set the buttons.

from  View
null|array
getActions()

Get the actions.

from  View
$this
setActions($actions)

Set the actions.

from  View

Details

in FiresCallbacks at line 29
$this on($trigger, $callback)

Register a new callback.

Parameters

$trigger
$callback

Return Value

$this

in FiresCallbacks at line 48
$this listen($trigger, $callback)

Register a new listener.

Parameters

$trigger
$callback

Return Value

$this

in FiresCallbacks at line 69
$this fire($trigger, array $parameters = array())

Fire a set of closures by trigger.

Parameters

$trigger
array $parameters

Return Value

$this

in FiresCallbacks at line 125
bool hasCallback($trigger)

Return if the callback exists.

Parameters

$trigger

Return Value

bool

in FiresCallbacks at line 137
bool hasListener($trigger)

Return if the listener exists.

Parameters

$trigger

Return Value

bool

in View at line 95
array getAttributes()

Get the attributes.

Return Value

array

in View at line 107
$this setAttributes( array $attributes)

Set the attributes.

Parameters

array $attributes

Return Value

$this

in View at line 119
mixed getHandler()

Get the view handler.

Return Value

mixed

in View at line 131
$this setHandler($handler)

Set the view handler.

Parameters

$handler

Return Value

$this

in View at line 143
callable|null|string getQuery()

Get the query.

Return Value

callable|null|string

in View at line 155
$this setQuery($query)

Set the query.

Parameters

$query

Return Value

$this

in View at line 169
$this setActive( bool $active)

Set the active flag.

Parameters

bool $active

Return Value

$this

in View at line 181
bool isActive()

Get the active flag.

Return Value

bool

in View at line 191
string getPrefix()

Get the view prefix.

Return Value

string

in View at line 203
$this setPrefix($prefix)

Set the view prefix.

Parameters

$prefix

Return Value

$this

in View at line 215
string getSlug()

Get the view slug.

Return Value

string

in View at line 227
$this setSlug($slug)

Set the view slug.

Parameters

$slug

Return Value

$this

in View at line 239
string getText()

Get the view text.

Return Value

string

in View at line 251
$this setText( string $text)

Set the view text.

Parameters

string $text

Return Value

$this

in View at line 263
null|string getIcon()

Get the icon.

Return Value

null|string

in View at line 275
$this setIcon($icon)

Set the icon.

Parameters

$icon

Return Value

$this

in View at line 287
null|array getColumns()

Get the columns.

Return Value

null|array

in View at line 299
$this setColumns($columns)

Set the columns.

Parameters

$columns

Return Value

$this

in View at line 311
null|array getButtons()

Get the buttons.

Return Value

null|array

in View at line 323
$this setButtons($buttons)

Set the buttons.

Parameters

$buttons

Return Value

$this

in View at line 335
null|array getActions()

Get the actions.

Return Value

null|array

in View at line 347
$this setActions($actions)

Set the actions.

Parameters

$actions

Return Value

$this