Class BaseParser
BaseParser is parent class for all parsers (SearchParser for searching and PredictParser for predicting)
-
Nette\Object
-
BaseModule\Services\BaseService
-
DispatchModule\BaseParser
Methods summary
public
|
#
__construct( Nette\DI\Container $container )
Constructor stores container
Constructor stores container
Parameters
Overrides
|
public
BaseModule\Form
|
#
addFormParameters( BaseModule\Form $form )
Add parameters needed by tools to the form
Add parameters needed by tools to the form
Parameters
- $form
- form, to which parameters will be added
Returns
|
public
array
|
#
getParameterList( )
Get list of parameters needed for all tools
Get list of parameters needed for all tools
Returns
array array indexed by parameter name with array containnig label and (optional) modifiers in value
|
public
array
|
#
getTools( )
Get list of all supported tools (loaded from tools directory)
Get list of all supported tools (loaded from tools directory)
Returns
array array of supported tools
|
public
array
|
#
getVisualizers( )
Get list of all supported visualisers (loaded from visualisers directory)
Get list of all supported visualisers (loaded from visualisers directory)
Returns
array array of supported visualisers
|
protected
string
|
#
getName( )
Gets name of the parser
Returns
string parser name without prefix
|
Properties summary
protected
Nette\DI\Container
|
$container
|
|
protected
array
|
$parameterList
array of elements wanted by every tool indexed by name with corresponding labels as value
array of elements wanted by every tool indexed by name with corresponding labels as value
|
|