Omeka_Form_Decorator_SavePanelAction

Package: Form\Decorator

class Omeka_Form_Decorator_SavePanelAction

extends Zend_Form_Decorator_Abstract

Decorator for buttons (usually actions) for the save panel in Omeka_Form_Admin

property Omeka_Form_Decorator_SavePanelAction::$content

protected

Omeka_Form_Decorator_SavePanelAction::getContent()
Omeka_Form_Decorator_SavePanelAction::getRecord()

Checks if a record was passed to the Omeka_Form_Admin form. returns it if it has been

Returns:

mixed false or the record

Omeka_Form_Decorator_SavePanelAction::hasPublicPage()

Checks if the Omeka_Form_Admin should display a link to a record’s public page

Omeka_Form_Decorator_SavePanelAction::render($content)

Render html for the save panel buttons

Parameters:
  • $content (string) –

Returns:

string