FF_Action_Form_Advisor Class Reference

Inheritance diagram for FF_Action_Form_Advisor:

FF_Action_Form FF_Action List of all members.

Public Member Functions

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

Detailed Description

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


Member Function Documentation

FF_Action_Form_Advisor::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 293 of file apps/advisor_search/lib/Action/Form.php.

FF_Action_Form_Advisor::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/advisor_search/lib/Action/Form.php.

FF_Action_Form_Advisor::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 208 of file apps/advisor_search/lib/Action/Form.php.

References getFormConstants().

FF_Action_Form_Advisor::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 241 of file apps/advisor_search/lib/Action/Form.php.

FF_Action_Form_Advisor::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 129 of file apps/advisor_search/lib/Action/Form.php.

FF_Action_Form_Advisor::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 114 of file apps/advisor_search/lib/Action/Form.php.

FF_Action_Form_Advisor::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 145 of file apps/advisor_search/lib/Action/Form.php.

FF_Action_Form_Advisor::isUpdate  ) 
 

Is this an update (return true) or add (return false)?

public

Returns:
bool True if is an update, false if it is an add

Reimplemented from FF_Action_Form.

Definition at line 272 of file apps/advisor_search/lib/Action/Form.php.

References FF_Auth::getCredential(), and FF_Request::setParam().

FF_Action_Form_Advisor::renderAdditionalLinks  ) 
 

Renders additional links on the page

public

Returns:
void

Reimplemented from FF_Action_Form.

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

References FastFrame::selfURL().


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