Inheritance diagram for FF_Action_Form:

Public Member Functions | |
| FF_Action_Form (&$in_model) | |
| run () | |
| renderAdditionalLinks () | |
| renderSearchBox () | |
| renderSubmitRow (&$in_tableWidget, $in_colspan) | |
| renderFormTable () | |
| createFormElements () | |
| fillModelWithData () | |
| checkPerms () | |
| isUpdate () | |
| setSubmitActionId () | |
| setProblemActionId () | |
| getSubmitButtons () | |
| getFormAction () | |
| getFormConstants () | |
| getFormDefaults () | |
| getTableData () | |
| getTableHeaderText () | |
| getSingularText () | |
| getPluralText () | |
| getPageName () | |
| _setDataAsSafe ($in_data) | |
Public Attributes | |
| $o_form | |
| $o_renderer | |
| $o_model | |
| $formMethod = 'POST' | |
| $formTarget = '_self' | |
| $formName = 'primary_form' | |
| $formActionId | |
| $editActionId = ACTION_EDIT | |
| $persistentData = array('actionId' => ACTION_LIST) | |
Definition at line 43 of file lib/FastFrame/Action/Form.php.
|
|
Set variables on class initialization.
Definition at line 111 of file lib/FastFrame/Action/Form.php. References FF_Action::FF_Action(). Referenced by FF_Action_Form_Loan::FF_Action_Form_Loan(), FF_Action_Form_Rule::FF_Action_Form_Rule(), and FF_Action_Form_Ticket::FF_Action_Form_Ticket(). |
|
|
Sets all the data for the table as safe since the data is normally form elements which should not be htmlspecialchared
Definition at line 487 of file lib/FastFrame/Action/Form.php. |
|
|
|
|
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
Reimplemented in FF_Action_Form_Borrower, FF_Action_Form_Category, FF_Action_Form_DemoAddToBorrower, FF_Action_Form_Demo, FF_Action_Form_Group, FF_Action_Form_Inventory, FF_Action_Form_Item, FF_Action_Form_Loan, FF_Action_Form_LoanReturnItem, FF_Action_Form_OverrideCode, FF_Action_Form_Reddot, FF_Action_Form_Rule, FF_Action_BatchEdit_Assignment, FF_Action_Form_Category, FF_Action_Form_Rule, FF_Action_Form_Ticket, and FF_Action_Form_Profile. Definition at line 258 of file lib/FastFrame/Action/Form.php. References FF_Request::getParam(), and setProblemActionId(). Referenced by run(). |
|
|
Gets the action used for the form, which is the current page. public
Reimplemented in FF_Action_Form_Login. Definition at line 359 of file lib/FastFrame/Action/Form.php. References FastFrame::selfURL(). |
|
|
Gets the constant values to be filled into the forms. Constants means it will override GET/POST data with the same key. public
Reimplemented in FF_Action_Form_Advisor, FF_Action_Form_Statistics, FF_Action_Form_Catalog, FF_Action_Form_Statistics, FF_Action_Form_BorrowerDownload, FF_Action_Form_Borrower, FF_Action_Form_Demo, FF_Action_Form_Group, FF_Action_Form_Inventory, FF_Action_Form_InventoryProcess, FF_Action_Form_Item, FF_Action_Form_OverrideCode, FF_Action_Form_Assignment, FF_Action_Form_Massmail, FF_Action_Form_Category, FF_Action_Form_Rule, FF_Action_Form_Ticket, FF_Action_Form_Permissions, and FF_Action_Contact. Definition at line 374 of file lib/FastFrame/Action/Form.php. References FF_Request::getParam(). Referenced by FF_Action_Form_Login::run(). |
|
|
|
Returns the page name for this action public
Reimplemented in FF_Action_Form_Login, FF_Action_Form_Ticket, and FF_Action_List. Definition at line 470 of file lib/FastFrame/Action/Form.php. References getTableHeaderText(). |
|
|
|
|
Returns any submit buttons rendered into html public
Reimplemented in FF_Action_Form_Massmail. Definition at line 345 of file lib/FastFrame/Action/Form.php. |
|
|
|
Gets the description of this form to be placed in the table header public
Reimplemented in FF_Action_Form_Statistics, FF_Action_AlumContact, FF_Action_List_Catalog, FF_Action_Form_Statistics, FF_Action_Form_BorrowerDownload, FF_Action_Form_BorrowerLookup, FF_Action_Form_DemoAddToBorrower, FF_Action_List_Demo, FF_Action_Form_Inventory, FF_Action_Form_InventoryProcess, FF_Action_List_Item, FF_Action_List_Loan, FF_Action_Form_LoanReturnItem, FF_Action_Form_ReddotCancel, FF_Action_List_Reddot, FF_Action_Delete_Reservation, FF_Action_Form_Login, FF_Action_Form_Ticket, FF_Action_Form_Portal, FF_Action_Form_ForgotPass, FF_Action_Contact, and FF_Action_List. Definition at line 423 of file lib/FastFrame/Action/Form.php. Referenced by getPageName(). |
|
|
Is this an update (return true) or add (return false)? public
Reimplemented in FF_Action_Form_Advisor, FF_Action_Form_DemoAddToBorrower, and FF_Action_Form_Ticket. Definition at line 298 of file lib/FastFrame/Action/Form.php. |
|
|
|
Renders the table and form using the twoColumnTable widget. public
Definition at line 221 of file lib/FastFrame/Action/Form.php. References renderSubmitRow(). Referenced by FF_Action_Form_Login::run(), and run(). |
|
|
Renders the search box for this module. public
Reimplemented in FF_Action_Form_Group, FF_Action_Form_LoanReturnItem, FF_Action_Form_Comment, FF_Action_Form_Portal, FF_Action_Form_ForgotPass, FF_Action_Form_Profile, and FF_Action_Contact. Definition at line 178 of file lib/FastFrame/Action/Form.php. References FF_Request::getParam(), and FF_ActionHandler::singleton(). Referenced by run(). |
|
||||||||||||
|
Renders the submit row html for the form
Reimplemented in FF_Action_Form_Statistics, and FF_Action_Form_Statistics. Definition at line 205 of file lib/FastFrame/Action/Form.php. Referenced by renderFormTable(). |
|
|
Sets up the edit form. public
Reimplemented from FF_Action. Reimplemented in FF_Action_List_Item, FF_Action_Form_Loan, FF_Action_Form_Login, FF_Action_Form_ForgotPass, FF_Action_Form_Profile, and FF_Action_List. Definition at line 127 of file lib/FastFrame/Action/Form.php. References createFormElements(), fillModelWithData(), renderAdditionalLinks(), renderFormTable(), renderSearchBox(), setProblemActionId(), and setSubmitActionId(). Referenced by FF_Action_Form_Rule::getTableData(), and FF_Action_Form_Rule::renderAdditionalLinks(). |
|
|
Sets the actionId that should be used when an error occurs in retrieving the data public
Reimplemented in FF_Action_Form_Group. Definition at line 331 of file lib/FastFrame/Action/Form.php. Referenced by fillModelWithData(), FF_Action_Form_Profile::fillModelWithData(), and run(). |
|
|
Sets the actionId that should be used when the form is submitted. public
Reimplemented in FF_Action_Form_Statistics, FF_Action_Form_Statistics, FF_Action_Form_BorrowerDownload, FF_Action_Form_BorrowerLookup, FF_Action_Form_DemoAddToBorrower, FF_Action_Form_InventoryProcess, FF_Action_Form_LoanReturnItem, FF_Action_Form_ReddotCancel, FF_Action_Delete_Reservation, FF_Action_BatchEdit_Assignment, FF_Action_Form_Login, FF_Action_Form_Ticket, FF_Action_Form_ForgotPass, and FF_Action_Contact. Definition at line 312 of file lib/FastFrame/Action/Form.php. Referenced by run(). |
|
|
Reimplemented in FF_Action_Form_ReddotCancel, and FF_Action_BatchEdit_Assignment. Definition at line 92 of file lib/FastFrame/Action/Form.php. |
|
|
Definition at line 86 of file lib/FastFrame/Action/Form.php. |
|
|
Definition at line 68 of file lib/FastFrame/Action/Form.php. |
|
|
Definition at line 80 of file lib/FastFrame/Action/Form.php. |
|
|
Definition at line 74 of file lib/FastFrame/Action/Form.php. |
|
|
Definition at line 50 of file lib/FastFrame/Action/Form.php. |
|
|
Reimplemented from FF_Action. Definition at line 62 of file lib/FastFrame/Action/Form.php. |
|
|
Definition at line 56 of file lib/FastFrame/Action/Form.php. |
|
|
Reimplemented in FF_Action_Form_Group. Definition at line 98 of file lib/FastFrame/Action/Form.php. |
1.4.4