Omeka_Form_Decorator_SavePanelHook

Package: Form\Decorator

class Omeka_Form_Decorator_SavePanelHook

extends Zend_Form_Decorator_Abstract

Decorator to add hooks into the admin save panel created via Omeka_Form_Admin

Omeka_Form_Decorator_SavePanelHook::render($content)
Parameters:
  • $content

Omeka_Form_Decorator_SavePanelHook::getType()

Get the record type if the Omeka_Form_Admin was created with that option set

Returns:

mixed false or the record

Omeka_Form_Decorator_SavePanelHook::getRecord()

Get the record if the Omeka_Form_Admin was created with that option set

Returns:

mixed false or the record