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

Public Member Functions

 CategoryForm ($category=null)
 display ()
 execute ()
 getLocaleFieldNames ()
 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

Detailed Description

Form for site admins to create/edit categories.

See Also

Definition at line 19 of file

Member Function Documentation

CategoryForm::CategoryForm (   $category = null)


groupCategory object; null to create new

Definition at line 27 of file

References Form\addCheck().

CategoryForm::display ( )

Display the form.

Definition at line 50 of file

CategoryForm::execute ( )

Save group group.

Definition at line 77 of file

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

CategoryForm::getLocaleFieldNames ( )

Get the list of localized field names for this object


Definition at line 41 of file

References DAORegistry\getDAO().

CategoryForm::initData ( )

Initialize form data from current group group.

Definition at line 59 of file

CategoryForm::readInputData ( )

Assign form data to user-submitted data.

Definition at line 70 of file

References Form\readUserVars().

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