\Whups_Block_Tickets

Base class for blocks that display a summary of tickets.

Summary

Methods
Properties
Constants
No public methods found
$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

_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.