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

Public Member Functions

 fetch ($request)
 
 LibraryFileForm ($template, $contextId)
 
 readInputData ()
 
- 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)
 

Public Attributes

 $contextId
 
 $libraryFileManager
 
- Public Attributes inherited from Form
 $_checks
 
 $_data
 
 $_errors
 
 $_template
 
 $cssValidation
 
 $errorFields
 
 $errorsArray
 
 $formSectionErrors
 
 $requiredLocale
 
 $supportedLocales
 

Detailed Description

Form for adding/editing a file.

Definition at line 19 of file LibraryFileForm.inc.php.

Member Function Documentation

LibraryFileForm::fetch (   $request)

Fetch

Parameters
$requestPKPRequest
See Also
Form::fetch()

Definition at line 49 of file LibraryFileForm.inc.php.

References AppLocale\requireComponents().

LibraryFileForm::LibraryFileForm (   $template,
  $contextId 
)

Constructor.

Parameters
$templatestring
$contextIdint

Definition at line 31 of file LibraryFileForm.inc.php.

References $contextId, and Form\addCheck().

LibraryFileForm::readInputData ( )

Assign form data to user-submitted data.

See Also
Form::readInputData()

Definition at line 64 of file LibraryFileForm.inc.php.

References Form\readUserVars().

Member Data Documentation

LibraryFileForm::$contextId

the id of the context this library file is attached to

Definition at line 21 of file LibraryFileForm.inc.php.

Referenced by LibraryFileForm().

LibraryFileForm::$libraryFileManager

the library file manager instantiated in this form.

Definition at line 24 of file LibraryFileForm.inc.php.


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