\Whups_Block_Mytickets

Display a summary of the current user's assigned tickets.

Summary

Methods
Properties
Constants
__construct()
$enabled
No constants found
_params()
_content()
_table()
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$enabled

$enabled : boolean

Is this block enabled?

Type

boolean

Methods

__construct()

__construct(  $app,   $params = array()) 

Parameters

$app
$params

_params()

_params() : array

Returns the parameters needed by block.

Returns

array —

The block's parameters.

_content()

_content() 

_table()

_table(array  $tickets,   $tableId = null) : string

Generates a table with ticket information.

Parameters

array $tickets

A list of tickets.

$tableId

Returns

string —

Table HTML code.