Omeka_Controller_Action_Helper_ThemeConfiguration¶
Package: Controller\ActionHelper
- class Omeka_Controller_Action_Helper_ThemeConfiguration¶
extends Zend_Controller_Action_Helper_Abstract
Action helper for handling theme configuration.
- Omeka_Controller_Action_Helper_ThemeConfiguration::processForm(Zend_Form $form, $data, $originalOptions = array())¶
Process the theme configuration form.
For file elements, this will save them using the storage system or 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.
- Omeka_Controller_Action_Helper_ThemeConfiguration::_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) –
- Omeka_Controller_Action_Helper_ThemeConfiguration::_processFileElement(Zend_Form_Element_File $element)¶
Store and/or delete a file for a file element.
Parameters:
- $element (Zend_Form_Element_File) –
- Omeka_Controller_Action_Helper_ThemeConfiguration::_deleteOldFile(Zend_Form_Element_File $element)¶
Delete a previously-stored theme file.
Parameters:
- $element (Zend_Form_Element_File) –