Go to the source code of this file.
Functions | |
| handle_pear_error ($error_obj) | |
| sync_borrower ($in_id, $sysid) | |
| sync_attrib ($in_id, $in_attrib, $sysid) | |
Variables | |
| $s_srcBorrowerTable = $argv[1] | |
| $s_srcAttribTable = $argv[2] | |
| $s_destBorrowerTable = $argv[3] | |
| $s_destAttribTable = $argv[4] | |
| $dsn = "mysql://username:password@localhost/fastframe" | |
| $o_srcDb = DB::connect($dsn) | |
| $o_destDb = DB::connect($dsn) | |
| $s_sql = "SELECT v,borrower_id FROM $s_destAttribTable WHERE k='sysstudentid'" | |
| $a_borrowers = $o_destDb->getOne($s_sql,null, DB_FETCHMODE_ASSOC) | |
| $tmp = $o_destDb->getAll($s_sql) | |
|
|
Definition at line 19 of file chkout_replicate_borrowers.php. |
|
||||||||||||||||
|
Definition at line 87 of file chkout_replicate_borrowers.php. References $o_destDb, $o_srcDb, $s_destAttribTable, $s_sql, $s_srcAttribTable, and print. |
|
||||||||||||
|
Definition at line 63 of file chkout_replicate_borrowers.php. References $o_destDb, $o_srcDb, $s_destBorrowerTable, $s_sql, $s_srcBorrowerTable, and print. |
|
|
Definition at line 35 of file chkout_replicate_borrowers.php. Referenced by FF_Model_Borrower::getDataToExport(), FF_Action_LoanReturnSummary::renderSummaryTable(), FF_Model_Demo::setBorrowersToAddFromString(), sync_attrib(), and sync_borrower(). |
|
|
Definition at line 27 of file chkout_replicate_borrowers.php. |
|
|
Definition at line 31 of file chkout_replicate_borrowers.php. |
|
|
Definition at line 28 of file chkout_replicate_borrowers.php. |
|
|
Definition at line 15 of file chkout_replicate_borrowers.php. Referenced by sync_attrib(). |
|
|
Definition at line 14 of file chkout_replicate_borrowers.php. Referenced by sync_borrower(). |
|
|
Definition at line 34 of file chkout_replicate_borrowers.php. |
|
|
Definition at line 13 of file chkout_replicate_borrowers.php. Referenced by sync_attrib(). |
|
|
Replicates a set of shared borrowers into individual checkout setups which need to share some borrowers, but not all. Outputs a series of SQL commands that can be dumped into a file and directly read in by mysql for fast updates.
Definition at line 12 of file chkout_replicate_borrowers.php. Referenced by sync_borrower(). |
|
|
Definition at line 37 of file chkout_replicate_borrowers.php. Referenced by FF_Rule_email::execute(), FF_DataAccess_Spotlight_mysql::getImageData(), FF_DataAccess_CustomField_mysql::remove(), FF_Action_TicketSummary::renderSummaryTable(), and FF_Model_TicketHistory::save(). |
1.4.4