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

Public Member Functions

 execute ($request)
 fetch ($request)
 getLocaleFieldNames ()
 initData ($request)
 NewContextImageFileForm ($imageSettingName)
 readInputData ()
- Public Member Functions inherited from SettingsFileUploadForm
 fetch ($request, $params=null)
 fetchTemporaryFile ($request)
 getFileSettingName ()
 readInputData ()
 removeTemporaryFile ($request)
 setFileSettingName ($fileSettingName)
 SettingsFileUploadForm ($template=null)
 uploadFile ($request)
- 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 SettingsFileUploadForm
- Public Attributes inherited from Form

Detailed Description

Form for upload an image.

Definition at line 18 of file

Member Function Documentation

NewContextImageFileForm::execute (   $request)
NewContextImageFileForm::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 36 of file

NewContextImageFileForm::getLocaleFieldNames ( )

Get the list of field names that need to support multiple locales


Definition at line 48 of file

NewContextImageFileForm::initData (   $request)
NewContextImageFileForm::NewContextImageFileForm (   $imageSettingName)



Definition at line 24 of file

References SettingsFileUploadForm\setFileSettingName().

NewContextImageFileForm::readInputData ( )

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

Definition at line 73 of file

References Form\readUserVars().

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