FF_Action_Form_Catalog Class Reference

Inheritance diagram for FF_Action_Form_Catalog:

FF_Action_Form FF_Action List of all members.

Public Member Functions

 renderAdditionalLinks ()
 createFormElements ()
 renderCheckApprovedJavascript ()
 getSingularText ()
 getPluralText ()
 getTableData ()
 getFormConstants ()
 getFormDefaults ()
 checkPerms ()

Detailed Description

Definition at line 41 of file apps/catalog_request/lib/Action/Form.php.


Member Function Documentation

FF_Action_Form_Catalog::checkPerms  ) 
 

Check the permissions on this action.

public

Returns:
bool True if everything is ok, false if a new action has been set

Reimplemented from FF_Action_Form.

Definition at line 340 of file apps/catalog_request/lib/Action/Form.php.

FF_Action_Form_Catalog::createFormElements  ) 
 

Creates the form elements needed for the form and any rules that apply to those elements.

public

Returns:
void

Reimplemented from FF_Action_Form.

Definition at line 67 of file apps/catalog_request/lib/Action/Form.php.

References renderCheckApprovedJavascript().

FF_Action_Form_Catalog::getFormConstants  ) 
 

Gets the constant values to be filled into the forms. Constants means it will override GET/POST data with the same key.

public

Returns:
mixed An array of the defaults or false if there was a problem

Reimplemented from FF_Action_Form.

Definition at line 275 of file apps/catalog_request/lib/Action/Form.php.

References getFormConstants().

FF_Action_Form_Catalog::getFormDefaults  ) 
 

Converts the model to the appropriate form fields. Returns an array of 'field' => 'value'

public

Returns:
array The array of fields and values

Reimplemented from FF_Action_Form.

Definition at line 308 of file apps/catalog_request/lib/Action/Form.php.

FF_Action_Form_Catalog::getPluralText  ) 
 

Gets the text that describes a plural version of the items displayed.

public

Returns:
string The plural text

Reimplemented from FF_Action_Form.

Definition at line 176 of file apps/catalog_request/lib/Action/Form.php.

FF_Action_Form_Catalog::getSingularText  ) 
 

Gets the text that describes a singular version of the items displayed

public

Returns:
string The singular text

Reimplemented from FF_Action_Form.

Definition at line 161 of file apps/catalog_request/lib/Action/Form.php.

FF_Action_Form_Catalog::getTableData  ) 
 

Gets the headers that we make a basic table out of. Has the form of 'data' => the cell data, 'title' => the cell description, 'titleStyles'/'dataStyles' => any attributes to apply to the title and data cells respectively.

public

Returns:
array

Reimplemented from FF_Action_Form.

Definition at line 192 of file apps/catalog_request/lib/Action/Form.php.

FF_Action_Form_Catalog::renderAdditionalLinks  ) 
 

Renders additional links on the page

public

Returns:
void

Reimplemented from FF_Action_Form.

Definition at line 50 of file apps/catalog_request/lib/Action/Form.php.

References FastFrame::selfURL().

FF_Action_Form_Catalog::renderCheckApprovedJavascript  ) 
 

Registers the javascript for checking if a mailing method needs manager approval.

public

Returns:
void
Checks to make sure manager approval is given for certain mailing methods.

Definition at line 123 of file apps/catalog_request/lib/Action/Form.php.

Referenced by createFormElements().


The documentation for this class was generated from the following file:
Generated on Fri Jun 23 11:38:23 2006 for FastFrame by  doxygen 1.4.4