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

Public Member Functions

 CategoryForm ($pressId, $categoryId=null)
 execute ($request)
 fetch ($request)
 getCategoryId ()
 getLocaleFieldNames ()
 getPressId ()
 initData ()
 readInputData ()
 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)

Public Attributes

- Public Attributes inherited from Form

Detailed Description

Form to add/edit category.

Definition at line 21 of file

Member Function Documentation

CategoryForm::CategoryForm (   $pressId,
  $categoryId = null 


$pressIdPress id.
$categoryIdCategory id.

Definition at line 58 of file

CategoryForm::execute (   $request)
CategoryForm::fetch (   $request)
See Also

Definition at line 165 of file

CategoryForm::getCategoryId ( )

Get the user group id.

int categoryId

Definition at line 88 of file

CategoryForm::getLocaleFieldNames ( )

Get all locale field names

Definition at line 106 of file

CategoryForm::getPressId ( )

Get the press id.

int pressId

Definition at line 96 of file

Referenced by execute().

CategoryForm::initData ( )
See Also

Definition at line 114 of file

CategoryForm::readInputData ( )
See Also

Definition at line 151 of file

CategoryForm::validate ( )
See Also

Definition at line 130 of file

Member Data Documentation

Id CategoryForm::$_categoryId

of the category being edited

Definition at line 26 of file

$_imageExtension CategoryForm::$_imageExtension

string Cover image extension

Definition at line 44 of file

Referenced by execute().

The CategoryForm::$_pressId

press of the category being edited

Definition at line 32 of file

$_sizeArray CategoryForm::$_sizeArray

array Cover image information from getimagesize

Definition at line 50 of file

$_userId CategoryForm::$_userId

int The current user ID

Definition at line 38 of file

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