FF_Action_Form_Borrower Class Reference

Inheritance diagram for FF_Action_Form_Borrower:

FF_Action_Form FF_Action List of all members.

Public Member Functions

 renderAdditionalLinks ()
 createFormElements ()
 fillModelWithData ()
 getSingularText ()
 getPluralText ()
 getTableData ()
 getFormConstants ()
 getFormDefaults ()
 checkPerms ()
 _getAttributeName ($in_attr)

Detailed Description

Definition at line 41 of file BorrowerForm.php.


Member Function Documentation

FF_Action_Form_Borrower::_getAttributeName in_attr  ) 
 

Gets the form name for an attribute by putting all attributes in an array

Parameters:
$in_attr The attribute name
private
Returns:
string The form field name

Definition at line 348 of file BorrowerForm.php.

Referenced by getFormDefaults().

FF_Action_Form_Borrower::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 306 of file BorrowerForm.php.

FF_Action_Form_Borrower::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 72 of file BorrowerForm.php.

FF_Action_Form_Borrower::fillModelWithData  ) 
 

Fills the model object with data for the field being edited. If an error occurs in getting the data we bounce to the problem action id.

public

Returns:
bool True if the model loaded successfully, false otherwsie

Reimplemented from FF_Action_Form.

Definition at line 109 of file BorrowerForm.php.

References FF_Request::getParam().

FF_Action_Form_Borrower::getFormConstants  ) 
 

Gets the form constants

public

Returns:
array An array of form constants

Reimplemented from FF_Action_Form.

Definition at line 254 of file BorrowerForm.php.

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

FF_Action_Form_Borrower::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 275 of file BorrowerForm.php.

References _getAttributeName().

FF_Action_Form_Borrower::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 149 of file BorrowerForm.php.

FF_Action_Form_Borrower::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 134 of file BorrowerForm.php.

FF_Action_Form_Borrower::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 165 of file BorrowerForm.php.

References $a_data, $o_fileCache, make(), and FF_FileCache::singleton().

FF_Action_Form_Borrower::renderAdditionalLinks  ) 
 

Renders additional links on the page

public

Returns:
void

Reimplemented from FF_Action_Form.

Definition at line 50 of file BorrowerForm.php.

References FF_Request::getParam(), FastFrame::selfURL(), and FF_Request::setParam().


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