Public Member Functions

CategoryForm Class Reference

Form to add/edit category. More...

List of all members.

Public Member Functions

 CategoryForm ($pressId, $categoryId=null)
 execute (&$request)
 fetch ($request)
 getCategoryId ()
 getLocaleFieldNames ()
 getPressId ()
 initData ()
 readInputData ()
 validate ()

Detailed Description

Form to add/edit category.

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


Member Function Documentation

CategoryForm.CategoryForm ( pressId,
categoryId = null 
)

Constructor.

Parameters:
$pressId Press id.
$categoryId Category id.

Definition at line 42 of file CategoryForm.inc.php.

CategoryForm.execute ( &$  request  ) 
See also:
Form.execute()

Definition at line 184 of file CategoryForm.inc.php.

References getCategoryId(), and getPressId().

CategoryForm.fetch ( request  ) 
See also:
Form.fetch()

Definition at line 149 of file CategoryForm.inc.php.

References getCategoryId().

CategoryForm.getCategoryId (  ) 

Get the user group id.

Returns:
int categoryId

Definition at line 72 of file CategoryForm.inc.php.

Referenced by execute(), fetch(), initData(), and readInputData().

CategoryForm.getLocaleFieldNames (  ) 

Get all locale field names

Definition at line 90 of file CategoryForm.inc.php.

CategoryForm.getPressId (  ) 

Get the press id.

Returns:
int pressId

Definition at line 80 of file CategoryForm.inc.php.

Referenced by execute(), initData(), and readInputData().

CategoryForm.initData (  ) 
See also:
Form.initData()

Definition at line 98 of file CategoryForm.inc.php.

References getCategoryId(), and getPressId().

CategoryForm.readInputData (  ) 
See also:
Form.readInputData()

Definition at line 135 of file CategoryForm.inc.php.

References getCategoryId(), and getPressId().

CategoryForm.validate (  ) 
See also:
Form.validate()

Definition at line 114 of file CategoryForm.inc.php.


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