Inheritance diagram for FF_DataAccess_Demo_mysql:

Public Member Functions | |
| FF_DataAccess_Demo_mysql () | |
| update ($in_data) | |
| add ($in_data) | |
| getListData ($in_where, $in_orderByField, $in_orderByDir, $in_fields= '*') | |
| getListFilter ($in_searchString, $in_searchFields, $in_filter, $in_filterData) | |
| remove ($in_demoId) | |
| getNextId () | |
| getDemosByBorrowerId ($in_borrowerId) | |
| getDemoItems ($in_id) | |
| addNewItems ($in_demoId, $in_items, &$in_resultObj) | |
| removeItem ($in_demoId, $in_itemId, &$in_resultObj) | |
| & | addDemoToBorrower ($in_demoId, $in_borrowerId) |
| removeDemoFromBorrower ($in_demoId, $in_borrowerId) | |
| getMissingDemos ($in_items, $in_borrowerId) | |
Public Attributes | |
| $o_log | |
| $demoItemsTable | |
| $borrowerDemosTable | |
| $itemsTable | |
| $groupsTable | |
| $filterName | |
Definition at line 48 of file DataAccess/mysql/Demo.php.
|
|
Initialize any needed class variables public
Definition at line 96 of file DataAccess/mysql/Demo.php. References FF_DataAccess::FF_DataAccess(). |
|
|
Adds a new row to the table
Reimplemented from FF_DataAccess. Definition at line 145 of file DataAccess/mysql/Demo.php. References $o_result, and addNewItems(). |
|
||||||||||||
|
Adds a demo for the user
Definition at line 363 of file DataAccess/mysql/Demo.php. References $a_data, $o_result, $result, and FF_DataAccess::timestampToISODate(). |
|
||||||||||||||||
|
Adds new items to a demo
Definition at line 309 of file DataAccess/mysql/Demo.php. |
|
|
Gets all the items in a demo
Definition at line 283 of file DataAccess/mysql/Demo.php. References $s_query. |
|
|
Gets an array of borrower demos by the borrowers id
Definition at line 266 of file DataAccess/mysql/Demo.php. References $s_query. |
|
||||||||||||||||||||
|
Queries the database for the information displayed on a list page.
Reimplemented from FF_DataAccess. Definition at line 176 of file DataAccess/mysql/Demo.php. References $s_query, and FF_DataAccess::_getOrderByDirection(). |
|
||||||||||||||||||||
|
Handles the list filters as well as all functionality of the parent method.
Reimplemented from FF_DataAccess. Definition at line 206 of file DataAccess/mysql/Demo.php. |
|
||||||||||||
|
Get a list of demos that a borrower does not have that are required for a list of items and groups. We also check demos for those groups that contain any of the passed in items. This allows a demo to be applied only to the group, and not every item in the group.
Definition at line 418 of file DataAccess/mysql/Demo.php. References $s_query, and FF_DataAccess::factory(). |
|
|
Gets the next id available in the sequence table public
Reimplemented from FF_DataAccess. Definition at line 248 of file DataAccess/mysql/Demo.php. |
|
|
Removes the demo
Definition at line 232 of file DataAccess/mysql/Demo.php. References $a_data. |
|
||||||||||||
|
Marks a borrower's demo as deleted.
Definition at line 390 of file DataAccess/mysql/Demo.php. References $o_result. |
|
||||||||||||||||
|
Removes an item from a demo
Definition at line 342 of file DataAccess/mysql/Demo.php. |
|
|
Updates a row that already exists in the table
Reimplemented from FF_DataAccess. Definition at line 118 of file DataAccess/mysql/Demo.php. References $o_result, and addNewItems(). |
|
|
Definition at line 67 of file DataAccess/mysql/Demo.php. |
|
|
Definition at line 61 of file DataAccess/mysql/Demo.php. |
|
|
Definition at line 85 of file DataAccess/mysql/Demo.php. |
|
|
Definition at line 79 of file DataAccess/mysql/Demo.php. |
|
|
Definition at line 73 of file DataAccess/mysql/Demo.php. |
|
|
Definition at line 55 of file DataAccess/mysql/Demo.php. |
1.4.4