ADODB_Active_Record Class Reference

List of all members.

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


Detailed Description

Definition at line 62 of file adodb-active-record.inc.php.


Constructor & Destructor Documentation

ADODB_Active_Record.__construct ( table = false,
pkeyarr = false,
db = false 
)

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().

Here is the call graph for this function:


Member Function Documentation

ADODB_Active_Record.SetDatabaseAdapter ( &$  db  ) 

Definition at line 72 of file adodb-active-record.inc.php.

References $db, and ADODB_SetDatabaseAdapter().

Referenced by __construct().

Here is the call graph for this function:

ADODB_Active_Record.ADODB_Active_Record ( table = false,
pkeyarr = false,
db = false 
)

Definition at line 78 of file adodb-active-record.inc.php.

References $db, and __construct().

Here is the call graph for this function:

ADODB_Active_Record.__wakeup (  ) 

Definition at line 110 of file adodb-active-record.inc.php.

References $class.

ADODB_Active_Record._pluralize ( table  ) 

Definition at line 116 of file adodb-active-record.inc.php.

Referenced by __construct().

ADODB_Active_Record.UpdateActiveTable ( pkeys = false,
forceUpdate = false 
)

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

ADODB_Active_Record.ErrorMsg (  ) 

Definition at line 276 of file adodb-active-record.inc.php.

References $db, and DB().

Here is the call graph for this function:

& 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().

Here is the call graph for this function:

& 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().

Here is the call graph for this function:

ADODB_Active_Record.LastInsertID ( &$  db,
fieldname 
)

Definition at line 341 of file adodb-active-record.inc.php.

References $db, and $val.

Referenced by Insert(), and Replace().

ADODB_Active_Record.doquote ( &$  db,
val,
t 
)

Definition at line 356 of file adodb-active-record.inc.php.

References $db, $t, and $val.

Referenced by GenWhere(), and Replace().

ADODB_Active_Record.GenWhere ( &$  db,
&$  table 
)

Definition at line 378 of file adodb-active-record.inc.php.

References $db, and doquote().

Referenced by Delete(), and Update().

Here is the call graph for this function:

ADODB_Active_Record.Load ( where,
bindarr = false 
)

Definition at line 395 of file adodb-active-record.inc.php.

References $db, $row, DB(), and Set().

Here is the call graph for this function:

ADODB_Active_Record.Save (  ) 

Definition at line 408 of file adodb-active-record.inc.php.

References $ok, Insert(), and Update().

Here is the call graph for this function:

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().

Here is the call graph for this function:

ADODB_Active_Record.Delete (  ) 

Definition at line 467 of file adodb-active-record.inc.php.

References $db, $ok, $sql, DB(), GenWhere(), and TableInfo().

Here is the call graph for this function:

& ADODB_Active_Record.Find ( whereOrderBy,
bindarr = false,
pkeysArr = false 
)

Definition at line 480 of file adodb-active-record.inc.php.

References $arr, $db, and DB().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

ADODB_Active_Record.GetAttributeNames (  ) 

Definition at line 604 of file adodb-active-record.inc.php.

References TableInfo().

Here is the call graph for this function:


Member Data Documentation

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.


The documentation for this class was generated from the following file:
This documentation is part of typo3-unleashed.net.
It's an automatically created code documentation of the TYPO3 Content Management System.
Created with doxygen