Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
SocialMediaForm Class Reference
Inheritance diagram for SocialMediaForm:

Public Member Functions

 execute ($request)
 fetch ($request)
 getContextId ()
getSocialMedia ()
 readInputData ()
 SocialMediaForm ($contextId, $socialMedia=null)
- Public Member Functions inherited from Form
 _decomposeArray ($name, $value, $stack)
 addCheck ($formValidator)
 addError ($field, $message)
 addErrorField ($field)
 display ($request=null, $template=null)
 execute ($object=null)
 fetch ($request, $template=null, $display=false)
 Form ($template=null, $callHooks=true, $requiredLocale=null, $supportedLocales=null)
 getData ($key)
 getDefaultFormLocale ()
 getErrorsArray ()
 getFormLocale ()
 getLocaleFieldNames ()
 getRequiredLocale ()
 getTemplate ()
 initData ()
 isLocaleResubmit ()
 isValid ()
 readInputData ()
 readUserDateVars ($vars)
 readUserVars ($vars)
 setData ($key, $value)
 setTemplate ($template)
 smartyFormLanguageChooser ($params, &$smarty)
 validate ($callHooks=true)

Additional Inherited Members

- Public Attributes inherited from Form

Detailed Description

Form for reading/creating/editing social media navigation items.

Definition at line 18 of file

Member Function Documentation

SocialMediaForm::execute (   $request)

Execute the form's action. (Note that it is assumed that the form has already been validated.)

$objectobject The object edited by this form.
$object The same object, potentially changed via hook.

Definition at line 88 of file

SocialMediaForm::fetch (   $request)

Returns a string of the rendered form

$templatestring the template to be rendered, mandatory if no template has been specified on class instantiation.
string the rendered form

Definition at line 58 of file

SocialMediaForm::getContextId ( )

Fetch the context Id for this form.

int $contextId

Definition at line 133 of file

& SocialMediaForm::getSocialMedia ( )

Fetch the SocialMedia object for this form.

SocialMedia $socialMedia

Definition at line 125 of file

SocialMediaForm::readInputData ( )

Assign form data to user-submitted data. Can be overridden from subclasses.

Definition at line 81 of file

SocialMediaForm::SocialMediaForm (   $contextId,
  $socialMedia = null 



Definition at line 40 of file

The documentation for this class was generated from the following file: