Open Journal Systems  2.4.4
 All Classes Namespaces Functions Variables Groups Pages
GroupForm Class Reference
Inheritance diagram for GroupForm:
Form

Public Member Functions

 display ()
 
 execute ()
 
 getLocaleFieldNames ()
 
 GroupForm ($group=null)
 
 initData ()
 
 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)
 

Additional Inherited Members

- Public Attributes inherited from Form
 $_checks
 
 $_data
 
 $_errors
 
 $_template
 
 $cssValidation
 
 $errorFields
 
 $errorsArray
 
 $formSectionErrors
 

Detailed Description

Form for journal managers to create/edit groups.

See Also
Group

Definition at line 20 of file GroupForm.inc.php.

Member Function Documentation

GroupForm::display ( )

Display the form.

Definition at line 53 of file GroupForm.inc.php.

GroupForm::execute ( )

Save group group.

Definition at line 92 of file GroupForm.inc.php.

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

GroupForm::getLocaleFieldNames ( )

Get the list of localized field names for this object

Returns
array

Definition at line 45 of file GroupForm.inc.php.

References DAORegistry\getDAO().

GroupForm::GroupForm (   $group = null)

Constructor

Parameters
groupGroup object; null to create new

Definition at line 28 of file GroupForm.inc.php.

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

GroupForm::initData ( )

Initialize form data from current group group.

Definition at line 67 of file GroupForm.inc.php.

GroupForm::readInputData ( )

Assign form data to user-submitted data.

Definition at line 85 of file GroupForm.inc.php.

References Form\readUserVars().


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