Open Journal Systems  2.4.8
 All Classes Namespaces Functions Variables Groups Pages
ArticleGalleyForm Class Reference
Inheritance diagram for ArticleGalleyForm:

Public Member Functions

 ArticleGalleyForm ($articleId, $galleyId=null)
 deleteImage ($imageId)
 display ()
 execute ($fileName=null, $createRemote=false)
 initData ()
 readInputData ()
 uploadImage ()
 validate ()
- 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

Article galley editing form.

See Also

Definition at line 23 of file

Member Function Documentation

ArticleGalleyForm::ArticleGalleyForm (   $articleId,
  $galleyId = null 


$galleyIdint (optional)

Definition at line 38 of file

References Form\addCheck(), DAORegistry\getDAO(), and Request\getJournal().

ArticleGalleyForm::deleteImage (   $imageId)

Delete an image from an HTML galley.

$imageIdint the file ID of the image

Definition at line 335 of file

References DAORegistry\getDAO().

ArticleGalleyForm::display ( )

Display the form.

Definition at line 61 of file

References Request\getJournal(), and PluginRegistry\loadCategory().

ArticleGalleyForm::execute (   $fileName = null,
  $createRemote = false 

Save changes to the galley.

int the galley ID

Definition at line 152 of file

References DAORegistry\getDAO(), Form\getData(), and Request\getJournal().

ArticleGalleyForm::initData ( )

Initialize form data from current galley (if applicable).

Definition at line 108 of file

ArticleGalleyForm::readInputData ( )

Assign form data to user-submitted data.

Definition at line 131 of file

References Form\readUserVars().

ArticleGalleyForm::uploadImage ( )

Upload an image to an HTML galley.

$imageNamestring file input key

Definition at line 306 of file

References Form\addError(), and DAORegistry\getDAO().

ArticleGalleyForm::validate ( )

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