FF_Action_Form_DemoAddToBorrower Class Reference

Inheritance diagram for FF_Action_Form_DemoAddToBorrower:

FF_Action_Form FF_Action List of all members.

Public Member Functions

 renderAdditionalLinks ()
 createFormElements ()
 fillModelWithData ()
 setSubmitActionId ()
 getSingularText ()
 getPluralText ()
 getTableData ()
 getTableHeaderText ()
 getFormDefaults ()
 isUpdate ()
 checkPerms ()

Detailed Description

Definition at line 42 of file DemoAddToBorrower.php.


Member Function Documentation

FF_Action_Form_DemoAddToBorrower::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 226 of file DemoAddToBorrower.php.

FF_Action_Form_DemoAddToBorrower::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 68 of file DemoAddToBorrower.php.

FF_Action_Form_DemoAddToBorrower::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 88 of file DemoAddToBorrower.php.

References FF_Request::getParam().

FF_Action_Form_DemoAddToBorrower::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 194 of file DemoAddToBorrower.php.

FF_Action_Form_DemoAddToBorrower::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 139 of file DemoAddToBorrower.php.

FF_Action_Form_DemoAddToBorrower::getSingularText  ) 
 

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

public

Returns:
string The singular text

Reimplemented from FF_Action_Form.

Definition at line 124 of file DemoAddToBorrower.php.

FF_Action_Form_DemoAddToBorrower::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 155 of file DemoAddToBorrower.php.

FF_Action_Form_DemoAddToBorrower::getTableHeaderText  ) 
 

Gets the description of this form to be placed in the table header

public

Returns:
string The text for the header.

Reimplemented from FF_Action_Form.

Definition at line 179 of file DemoAddToBorrower.php.

FF_Action_Form_DemoAddToBorrower::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 212 of file DemoAddToBorrower.php.

FF_Action_Form_DemoAddToBorrower::renderAdditionalLinks  ) 
 

Renders additional links on the page

public

Returns:
void

Reimplemented from FF_Action_Form.

Definition at line 51 of file DemoAddToBorrower.php.

References FastFrame::selfURL().

FF_Action_Form_DemoAddToBorrower::setSubmitActionId  ) 
 

Sets the actionId that should be used when the form is submitted.

public

Returns:
void

Reimplemented from FF_Action_Form.

Definition at line 110 of file DemoAddToBorrower.php.


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