FF_Action_Form_Assignment Class Reference

Inheritance diagram for FF_Action_Form_Assignment:

FF_Action_Form FF_Action List of all members.

Public Member Functions

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

Detailed Description

Definition at line 41 of file AssignmentForm.php.


Member Function Documentation

FF_Action_Form_Assignment::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 222 of file AssignmentForm.php.

References FF_Auth::getCredential().

FF_Action_Form_Assignment::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 AssignmentForm.php.

FF_Action_Form_Assignment::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 179 of file AssignmentForm.php.

References getFormConstants(), and FF_Request::getParam().

FF_Action_Form_Assignment::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 200 of file AssignmentForm.php.

FF_Action_Form_Assignment::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 117 of file AssignmentForm.php.

FF_Action_Form_Assignment::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 102 of file AssignmentForm.php.

FF_Action_Form_Assignment::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 133 of file AssignmentForm.php.

References make().

FF_Action_Form_Assignment::renderAdditionalLinks  ) 
 

Renders additional links on the page

public

Returns:
void

Reimplemented from FF_Action_Form.

Definition at line 50 of file AssignmentForm.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