Inheritance diagram for FF_Model_OverrideCode:

Public Member Functions | |
| reset () | |
| importFromArray ($in_data) | |
| exportToArray () | |
| getLogEntryDescription ($in_id) | |
| isCodeValid ($in_code, $in_borrowerId) | |
| useCode ($in_code, $in_transactionId) | |
| getNewCode () | |
| getCode () | |
| setCode ($in_value) | |
| getFormattedMultiUse () | |
| setMultiUse ($in_value) | |
| getMultiUse () | |
| getCreatorName () | |
| getCreatorId () | |
| setCreatorId ($in_value) | |
| getFormattedStartDate () | |
| getStartDate () | |
| setStartDate ($in_value) | |
| getFormattedEndDate () | |
| getEndDate () | |
| setEndDate ($in_value) | |
| getFormattedUseDate () | |
| getUseDate () | |
| setUseDate ($in_value) | |
| getTransactionId () | |
| setTransactionId ($in_value) | |
| setBorrowerIdByBarcode ($in_barcode) | |
| getBorrowerName () | |
| getBorrowerId () | |
| setBorrowerId ($in_value) | |
| formatTimestamp ($in_timestamp) | |
| _initBorrowerDataAccess () | |
| _initDataAccess () | |
Public Attributes | |
| $code | |
| $creatorId | |
| $startDate | |
| $endDate | |
| $useDate | |
| $transactionId | |
| $borrowerId | |
| $o_borrowerDataAccess | |
| $multiUse | |
Definition at line 43 of file Model/OverrideCode.php.
|
|
Initializes the dao object for the current borrower private
Definition at line 520 of file Model/OverrideCode.php. References FF_DataAccess::factory(). Referenced by getBorrowerName(). |
|
|
Initializes the data access object private
Reimplemented from FF_Model. Definition at line 536 of file Model/OverrideCode.php. References FF_DataAccess::factory(). |
|
|
Exports the data properties to an array using the dataaccess constants as keys
Reimplemented from FF_Model. Definition at line 156 of file Model/OverrideCode.php. References $a_data, getBorrowerId(), getCode(), getCreatorId(), getEndDate(), FF_Model::getId(), getMultiUse(), getStartDate(), getTransactionId(), and getUseDate(). |
|
|
Formats a timestamp to a date
Definition at line 500 of file Model/OverrideCode.php. Referenced by getFormattedEndDate(), getFormattedStartDate(), and getFormattedUseDate(). |
|
|
Definition at line 476 of file Model/OverrideCode.php. Referenced by exportToArray(). |
|
|
Gets the borrower name if a borrower id is set and it is valid public
Definition at line 466 of file Model/OverrideCode.php. References _initBorrowerDataAccess(). |
|
|
Definition at line 255 of file Model/OverrideCode.php. Referenced by exportToArray(), and getLogEntryDescription(). |
|
|
Definition at line 310 of file Model/OverrideCode.php. Referenced by exportToArray(). |
|
|
Gets the name of the creator public
Definition at line 301 of file Model/OverrideCode.php. References FF_DataAccess::factory(). |
|
|
Definition at line 370 of file Model/OverrideCode.php. References $o_registry, and FF_Registry::singleton(). Referenced by exportToArray(). |
|
|
Gets a formatted end date public
Definition at line 362 of file Model/OverrideCode.php. References formatTimestamp(). Referenced by getLogEntryDescription(). |
|
|
Definition at line 271 of file Model/OverrideCode.php. References getMultiUse(). |
|
|
Gets a formatted start date public
Definition at line 332 of file Model/OverrideCode.php. References formatTimestamp(). Referenced by getLogEntryDescription(). |
|
|
Gets a formatted use date public
Definition at line 400 of file Model/OverrideCode.php. References formatTimestamp(). |
|
|
Gets the description of a override code for a log entry made by the override code module
Definition at line 182 of file Model/OverrideCode.php. References getCode(), getFormattedEndDate(), and getFormattedStartDate(). |
|
|
Definition at line 287 of file Model/OverrideCode.php. Referenced by exportToArray(), and getFormattedMultiUse(). |
|
|
Gets a new override code and ensures it is unique. public
Definition at line 236 of file Model/OverrideCode.php. References $o_registry, FF_Util::getRandomString(), and FF_Registry::singleton(). |
|
|
Definition at line 340 of file Model/OverrideCode.php. Referenced by exportToArray(). |
|
|
Definition at line 424 of file Model/OverrideCode.php. Referenced by exportToArray(). |
|
|
Definition at line 408 of file Model/OverrideCode.php. Referenced by exportToArray(). |
|
|
Imports an array of data (usually from the database) into the model's properties
Reimplemented from FF_Model. Definition at line 132 of file Model/OverrideCode.php. References setBorrowerId(), setCode(), setCreatorId(), setEndDate(), FF_Model::setId(), setMultiUse(), setStartDate(), setTransactionId(), and setUseDate(). |
|
||||||||||||
|
Determines if an override code can be used
Definition at line 205 of file Model/OverrideCode.php. |
|
|
Retets the model's data properties to their initial values (usually null) public
Reimplemented from FF_Model. Definition at line 109 of file Model/OverrideCode.php. |
|
|
Definition at line 484 of file Model/OverrideCode.php. Referenced by importFromArray(), and setBorrowerIdByBarcode(). |
|
|
Sets the borrower id by a borrower barcode.
Definition at line 448 of file Model/OverrideCode.php. References $o_borrowerDataAccess, FF_DataAccess::factory(), and setBorrowerId(). |
|
|
Definition at line 263 of file Model/OverrideCode.php. Referenced by importFromArray(). |
|
|
Definition at line 318 of file Model/OverrideCode.php. Referenced by importFromArray(). |
|
|
Definition at line 386 of file Model/OverrideCode.php. Referenced by importFromArray(). |
|
|
Definition at line 279 of file Model/OverrideCode.php. References FF_Model::_scalarToBool(). Referenced by importFromArray(). |
|
|
Definition at line 348 of file Model/OverrideCode.php. Referenced by importFromArray(). |
|
|
Definition at line 432 of file Model/OverrideCode.php. Referenced by importFromArray(). |
|
|
Definition at line 416 of file Model/OverrideCode.php. Referenced by importFromArray(). |
|
||||||||||||
|
Updates a code's status as having been used.
Definition at line 222 of file Model/OverrideCode.php. |
|
|
Definition at line 86 of file Model/OverrideCode.php. |
|
|
Definition at line 50 of file Model/OverrideCode.php. |
|
|
Definition at line 56 of file Model/OverrideCode.php. |
|
|
Definition at line 68 of file Model/OverrideCode.php. |
|
|
Definition at line 98 of file Model/OverrideCode.php. |
|
|
Definition at line 92 of file Model/OverrideCode.php. Referenced by setBorrowerIdByBarcode(). |
|
|
Definition at line 62 of file Model/OverrideCode.php. |
|
|
Definition at line 80 of file Model/OverrideCode.php. |
|
|
Definition at line 74 of file Model/OverrideCode.php. |
1.4.4