\Whups_Block_Query

Display the results of a saved Query in a block.

Summary

Methods
Properties
Constants
__construct()
$enabled
No constants found
_params()
_content()
_table()
_title()
No protected properties found
N/A
_getQuery()
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.

_title()

_title() 

_getQuery()

_getQuery()