Property | Type | Description | |
---|---|---|---|
$formId | string | The form id to use. | |
$objFilterConfig | Filter config. |
Method | Description | |
---|---|---|
generateClearAll ( string $strContent, string $strTemplate ) : string | Add the "clear all Filter". | |
getMetaModelFrontendFilter ( |
Configure the filter module. |
Method | Description | |
---|---|---|
checkRedirect ( array $widgets, array $wantedParameter, array $allParameter ) : void | Check if we want to redirect to another url. | |
generateContentElement ( string $content, string $replace, integer $contentId ) : string | Render a content element. | |
generateElement ( string $table, string $content, string $replace, integer $elementId ) : string | Render a module or content element. | |
generateModule ( string $content, string $replace, integer $moduleId ) : string | Render a module. | |
getDispatcher ( ) : Symfony\Component\EventDispatcher\EventDispatcherInterface | Retrieve the event dispatcher. | |
getFilters ( ) : array | Get the filters. | |
getFrontendFilterOptions ( ) : MetaModels\FrontendIntegration\FrontendFilterOptions | Get the frontend filter options to use. | |
getJumpToUrl ( array $arrParams ) : string | Generate an url determined by the given params and configured jumpTo page. | |
getParams ( ) : array | Retrieve the parameter values. | |
getWantedNames ( ) : array | Retrieve the list of parameter names that shall be evaluated. | |
redirectPost ( array $arrParams ) : void | Redirect the browser to the url determined by the given params (configured jumpTo page will get used). | |
renderWidget ( array $widget, MetaModels\FrontendIntegration\FrontendFilterOptions $filterOptions ) : array | Parse a single filter widget. |
protected generateContentElement ( string $content, string $replace, integer $contentId ) : string | ||
$content | string | The html content in which to replace. |
$replace | string | The string within the html to be replaced. |
$contentId | integer | The id of the content element to be inserted for the replace string. |
return | string |
protected generateElement ( string $table, string $content, string $replace, integer $elementId ) : string | ||
$table | string | The name of the table. |
$content | string | The html content in which to replace. |
$replace | string | The string within the html to be replaced. |
$elementId | integer | The id of the module/ce-element to be inserted for the replace string. |
return | string |
protected getDispatcher ( ) : Symfony\Component\EventDispatcher\EventDispatcherInterface | ||
return | Symfony\Component\EventDispatcher\EventDispatcherInterface |
protected getFrontendFilterOptions ( ) : MetaModels\FrontendIntegration\FrontendFilterOptions | ||
return | MetaModels\FrontendIntegration\FrontendFilterOptions |
protected getJumpToUrl ( array $arrParams ) : string | ||
$arrParams | array | The URL parameters to use. |
return | string | the generated URL. |
public getMetaModelFrontendFilter ( |
||
$objFilterConfig | The content element or module using this filter. | |
return | array |
protected getWantedNames ( ) : array | ||
return | array |
protected redirectPost ( array $arrParams ) : void | ||
$arrParams | array | The URL parameters to use. |
return | void |
protected renderWidget ( array $widget, MetaModels\FrontendIntegration\FrontendFilterOptions $filterOptions ) : array | ||
$widget | array | The widget configuration. |
$filterOptions | MetaModels\FrontendIntegration\FrontendFilterOptions | The filter options to apply. |
return | array |