Public Member Functions | |
| SetDatabaseAdapter (&$db) | |
| ADODB_Active_Record ($table=false, $pkeyarr=false, $db=false) | |
| __construct ($table=false, $pkeyarr=false, $db=false) | |
| __wakeup () | |
| _pluralize ($table) | |
| UpdateActiveTable ($pkeys=false, $forceUpdate=false) | |
| GetPrimaryKeys (&$db, $table) | |
| Error ($err, $fn) | |
| ErrorMsg () | |
| & | DB () |
| & | TableInfo () |
| Set (&$row) | |
| LastInsertID (&$db, $fieldname) | |
| doquote (&$db, $val, $t) | |
| GenWhere (&$db, &$table) | |
| Load ($where, $bindarr=false) | |
| Save () | |
| Insert () | |
| Delete () | |
| & | Find ($whereOrderBy, $bindarr=false, $pkeysArr=false) |
| Replace () | |
| Update () | |
| GetAttributeNames () | |
Public Attributes | |
| $_dbat | |
| $_table | |
| $_tableat | |
| $_where | |
| $_saved = false | |
| $_lasterr = false | |
| $_original = false | |
Definition at line 62 of file adodb-active-record.inc.php.
Definition at line 84 of file adodb-active-record.inc.php.
References $_ADODB_ACTIVE_DBS, $db, _pluralize(), Error(), SetDatabaseAdapter(), and UpdateActiveTable().
Referenced by ADODB_Active_Record().

| ADODB_Active_Record.SetDatabaseAdapter | ( | &$ | db | ) |
Definition at line 72 of file adodb-active-record.inc.php.
References $db, and ADODB_SetDatabaseAdapter().
Referenced by __construct().

Definition at line 78 of file adodb-active-record.inc.php.
References $db, and __construct().

| ADODB_Active_Record.__wakeup | ( | ) |
| ADODB_Active_Record._pluralize | ( | $ | table | ) |
Definition at line 140 of file adodb-active-record.inc.php.
References $_ADODB_ACTIVE_DBS, $ADODB_ACTIVE_CACHESECS, $ADODB_CACHE_DIR, $db, $s, adodb_write_file(), debug, Error(), GetPrimaryKeys(), and ADOConnection.outp().
Referenced by __construct().

| ADODB_Active_Record.GetPrimaryKeys | ( | &$ | db, | |
| $ | table | |||
| ) |
Definition at line 248 of file adodb-active-record.inc.php.
References $db.
Referenced by UpdateActiveTable().
| ADODB_Active_Record.Error | ( | $ | err, | |
| $ | fn | |||
| ) |
Definition at line 254 of file adodb-active-record.inc.php.
References $_ADODB_ACTIVE_DBS, $db, adodb_throw(), debug, and ADOConnection.outp().
Referenced by __construct(), DB(), Set(), Update(), and UpdateActiveTable().

| ADODB_Active_Record.ErrorMsg | ( | ) |
Definition at line 276 of file adodb-active-record.inc.php.

| & ADODB_Active_Record.DB | ( | ) |
Definition at line 289 of file adodb-active-record.inc.php.
References $_ADODB_ACTIVE_DBS, $db, and Error().
Referenced by Delete(), ErrorMsg(), Find(), Insert(), Load(), Replace(), Set(), and Update().

| & ADODB_Active_Record.TableInfo | ( | ) |
Definition at line 304 of file adodb-active-record.inc.php.
References $_ADODB_ACTIVE_DBS.
Referenced by Delete(), GetAttributeNames(), Insert(), Replace(), Set(), and Update().
| ADODB_Active_Record.Set | ( | &$ | row | ) |
Definition at line 314 of file adodb-active-record.inc.php.
References $cnt, $db, $row, DB(), Error(), and TableInfo().
Referenced by Load().

| ADODB_Active_Record.LastInsertID | ( | &$ | db, | |
| $ | fieldname | |||
| ) |
| ADODB_Active_Record.doquote | ( | &$ | db, | |
| $ | val, | |||
| $ | t | |||
| ) |
Definition at line 356 of file adodb-active-record.inc.php.
Referenced by GenWhere(), and Replace().
| ADODB_Active_Record.GenWhere | ( | &$ | db, | |
| &$ | table | |||
| ) |
| ADODB_Active_Record.Load | ( | $ | where, | |
| $ | bindarr = false | |||
| ) |
| ADODB_Active_Record.Save | ( | ) |
Definition at line 408 of file adodb-active-record.inc.php.
References $ok, Insert(), and Update().

| ADODB_Active_Record.Insert | ( | ) |
Definition at line 417 of file adodb-active-record.inc.php.
References $cnt, $db, $ok, $sql, $val, DB(), LastInsertID(), and TableInfo().
Referenced by Save().

| ADODB_Active_Record.Delete | ( | ) |
Definition at line 467 of file adodb-active-record.inc.php.
References $db, $ok, $sql, DB(), GenWhere(), and TableInfo().

Definition at line 480 of file adodb-active-record.inc.php.
References $arr, $db, and DB().

| ADODB_Active_Record.Replace | ( | ) |
Definition at line 488 of file adodb-active-record.inc.php.
References $arr, $db, $ok, $t, $v, $val, DB(), doquote(), LastInsertID(), and TableInfo().

| ADODB_Active_Record.Update | ( | ) |
Definition at line 550 of file adodb-active-record.inc.php.
References $cnt, $db, $ok, $sql, $val, DB(), Error(), GenWhere(), and TableInfo().
Referenced by Save().

| ADODB_Active_Record.GetAttributeNames | ( | ) |
Definition at line 604 of file adodb-active-record.inc.php.
References TableInfo().

| ADODB_Active_Record.$_dbat |
Definition at line 63 of file adodb-active-record.inc.php.
| ADODB_Active_Record.$_table |
Definition at line 64 of file adodb-active-record.inc.php.
| ADODB_Active_Record.$_tableat |
Definition at line 65 of file adodb-active-record.inc.php.
| ADODB_Active_Record.$_where |
Definition at line 66 of file adodb-active-record.inc.php.
| ADODB_Active_Record.$_saved = false |
Definition at line 67 of file adodb-active-record.inc.php.
| ADODB_Active_Record.$_lasterr = false |
Definition at line 68 of file adodb-active-record.inc.php.
| ADODB_Active_Record.$_original = false |
Definition at line 69 of file adodb-active-record.inc.php.