Omeka_Controller_Action_Helper_ThemeConfiguration¶
- class Omeka_Controller_Action_Helper_ThemeConfiguration¶
Package: Controller\ActionHelper
Action helper for handling theme configuration.
- property _themeOptions¶
- property _formValues¶
- property _form¶
- processForm(Zend_Form $form, array $data, array $originalOptions = Array)¶
Process the theme configuration form.
For file elements, this will save them using the storage systemor remove them as is necessary.
Parameters: - $form (Zend_Form) – The form to save.
- $data (array) – The data to fill the form with.
- $originalOptions (array) – The previous options for the form.
Returns: array|bool Array of options if the form was validly submitted, false otherwise.
- _configFileElement(Zend_Form_Element_File $element)¶
Ignore a file element that has an associated hidden element, since this means that the user did not change the uploaded file.
Parameters: - $element (Zend_Form_Element_File) –
- _processFileElement(Zend_Form_Element_File $element)¶
Store and/or delete a file for a file element.
Parameters: - $element (Zend_Form_Element_File) –
- _deleteOldFile(Zend_Form_Element_File $element)¶
Delete a previously-stored theme file.
Parameters: - $element (Zend_Form_Element_File) –