|
Open Journal Systems
3.3.0
|
Additional Inherited Members | |
Static Public Member Functions inherited from PersistableFilter | |
| static | tempGroup ($inputType, $outputType) |
Static Public Member Functions inherited from Filter | |
| static | supportedRuntimeEnvironmentSettings () |
Data Fields inherited from PersistableFilter | |
| $_filterGroup | |
| $_settings = array() | |
Data Fields inherited from Filter | |
| $_errors = array() | |
| $_input | |
| $_inputType | |
| $_output | |
| $_outputType | |
| $_runtimeEnvironment = false | |
Data Fields inherited from DataObject | |
| $_data = array() | |
| $_extractionAdaptersLoaded = false | |
| $_hasLoadableAdapters = false | |
| $_injectionAdaptersLoaded = false | |
| $_metadataExtractionAdapters = array() | |
| $_metadataInjectionAdapters = array() | |
Abstract base class for all filters that transform their input via smarty templates.
Definition at line 19 of file TemplateBasedFilter.inc.php.
| TemplateBasedFilter::__construct | ( | $filterGroup | ) |
Constructor
| $filterGroup | FilterGroup |
Reimplemented from PersistableFilter.
Definition at line 24 of file TemplateBasedFilter.inc.php.
| TemplateBasedFilter::addTemplateVars | ( | $templateMgr, | |
| & | $input, | ||
| $request, | |||
| & | $locale | ||
| ) |
Sub-classes must implement this method to add template variables to the template.
| $templateMgr | TemplateManager |
| $input | mixed the filter input |
| $request | Request |
| $locale | AppLocale |
Definition at line 60 of file TemplateBasedFilter.inc.php.
Referenced by process().
| TemplateBasedFilter::getBasePath | ( | ) |
Return the base path of the filter so that we can find the filter templates.
Definition at line 38 of file TemplateBasedFilter.inc.php.
Referenced by process().
| TemplateBasedFilter::getTemplateName | ( | ) |
Return the template name to be used by this filter.
Definition at line 47 of file TemplateBasedFilter.inc.php.
Referenced by process().
| & TemplateBasedFilter::process | ( | & | $input | ) |
Reimplemented from Filter.
Definition at line 72 of file TemplateBasedFilter.inc.php.
References addTemplateVars(), PKPApplication\get(), getBasePath(), AppLocale\getLocale(), PKPTemplateManager\getManager(), and getTemplateName().