Class for application wide methods and constants

package Webenq
author Bart Huttinga

 Methods

Return the given value converted for use with XML.

Xmlify(string $value, string $type) : string
Static

The second parameter indicates the type of xml entity. Valid values are: tag, attribute, value.

Parameters

$value

string

$type

string

Returns

string

Return the given value converted for use as filename.

filename(string $value) : string
Static

Parameters

$value

string

Returns

string

getCollectionPresentationTypes()

getCollectionPresentationTypes() 
Static

getFilterInstance()

getFilterInstance($name) 
Static

Parameters

$name

getFilters()

getFilters() 
Static

getReportPresentationTypes()

getReportPresentationTypes() 
Static

getValidatorInstance()

getValidatorInstance($name) 
Static

Parameters

$name

getValidators()

getValidators() 
Static

setMaxExecutionTime()

setMaxExecutionTime($value) 
Static

Parameters

$value

setMemoryLimit()

setMemoryLimit($value) 
Static

Parameters

$value

 Properties

 

$_filters : array

The key is the system name used for identifying the filters. The value of each entry is an array holding the keys 'name' (human readable name), 'class' (the class to use) and (optionally) 'options' (an array that holds the parameters to pass to the class' constructor).

 

$_validators : array

The key is the system name used for identifying the validators. The value of each entry is an array holding the keys 'name' (human readable name), 'class' (the class to use) and (optionally) 'options' (an array that holds the parameters to pass to the class' constructor).

 Constants

 

COLLECTION_PRESENTATION_MULTIPLESELECT_CHECKBOXES

COLLECTION_PRESENTATION_MULTIPLESELECT_CHECKBOXES 
 

COLLECTION_PRESENTATION_MULTIPLESELECT_LIST

COLLECTION_PRESENTATION_MULTIPLESELECT_LIST 
 

COLLECTION_PRESENTATION_OPEN_CURRENTDATE

COLLECTION_PRESENTATION_OPEN_CURRENTDATE 
 

COLLECTION_PRESENTATION_OPEN_DATE

COLLECTION_PRESENTATION_OPEN_DATE 
 

COLLECTION_PRESENTATION_OPEN_TEXT

COLLECTION_PRESENTATION_OPEN_TEXT 
 

COLLECTION_PRESENTATION_OPEN_TEXTAREA

COLLECTION_PRESENTATION_OPEN_TEXTAREA 
 

COLLECTION_PRESENTATION_RANGESELECT_SLIDER

COLLECTION_PRESENTATION_RANGESELECT_SLIDER 
 

COLLECTION_PRESENTATION_SINGLESELECT_DROPDOWNLIST

COLLECTION_PRESENTATION_SINGLESELECT_DROPDOWNLIST 
 

COLLECTION_PRESENTATION_SINGLESELECT_RADIOBUTTONS

COLLECTION_PRESENTATION_SINGLESELECT_RADIOBUTTONS 
 

COLLECTION_PRESENTATION_SINGLESELECT_SLIDER

COLLECTION_PRESENTATION_SINGLESELECT_SLIDER 
 

COLLECTION_PRESENTATION_TEXT

COLLECTION_PRESENTATION_TEXT