ILIAS
release_4-3 Revision
|
Public Member Functions | |
__construct ($dsn, $login, $password, $type='mysql') | |
init ($dsn, $login, $password, $type='mysql') | |
addQueries () | |
getLastId () | |
getType () | |
& | getRecord ($tableOrView, $idname, $idvalue) |
setRecord ($tableOrView, $row, $idname=null) | |
& | getRecords ($tableOrView, $idname=null, $idvalues=null, $order=null, $paging=null) |
setRecords ($tableOrView, $rows, $idname=null) | |
removeRecord ($table, $idname, $idvalue) | |
removeRecords ($tables, $idnames, $idvalues) | |
& | query ($query, $params=null, $order=null, $paging=null, $fetchType=PDO::FETCH_ASSOC) |
exec ($queries, $params=null, &$result=null) | |
exec('delete...') exec('delete... | |
begin () | |
commit () | |
rollback () | |
il_to_pdo_dsn ($il_dsn) |
Static Public Attributes | |
static | $DB |
Private Member Functions | |
getDSN () | |
getDB () | |
escapeName ($name) | |
setLastId ($id) |
Private Attributes | |
$db | |
$dsn | |
$type | |
$brackets | |
$lastId |
Static Private Attributes | |
static | $DSN |
static | $TYPE |
static | $BRACKETS |
static | $LAST_ID |
static | $ERRORS |
static | $BRACKETS_LIST |
static | $errors |
static | $SQLCOMMAND = array() |
Definition at line 30 of file ilSCORM13DB.php.
ilSCORM13DB::__construct | ( | $dsn, | |
$login, | |||
$password, | |||
$type = 'mysql' |
|||
) |
Definition at line 56 of file ilSCORM13DB.php.
ilSCORM13DB::addQueries | ( | ) |
Definition at line 82 of file ilSCORM13DB.php.
Referenced by exec(), and query().
ilSCORM13DB::begin | ( | ) |
Definition at line 358 of file ilSCORM13DB.php.
References getDB().
ilSCORM13DB::commit | ( | ) |
Definition at line 364 of file ilSCORM13DB.php.
References $ERRORS, and getDB().
|
private |
Definition at line 116 of file ilSCORM13DB.php.
References $BRACKETS.
Referenced by getRecord(), getRecords(), query(), removeRecords(), and setRecords().
ilSCORM13DB::exec | ( | $queries, | |
$params = null , |
|||
& | $result = null |
||
) |
exec('delete...') exec('delete...
id=?', array(231)) exec('insert... id=?', array(array(231), array(130))) exec(array('select... id=?', 'select2... id=?'), array(array(231))) exec(array('select... id=?', 'select2... id=?'), array(array(231), array(130)))
erstelle gleich dimensionale arrays f�r $queries und $params
Definition at line 304 of file ilSCORM13DB.php.
References $d, $result, addQueries(), and getDB().
Referenced by removeRecords().
|
private |
Definition at line 109 of file ilSCORM13DB.php.
References $DB.
Referenced by begin(), commit(), exec(), getLastId(), query(), removeRecords(), rollback(), and setRecords().
|
private |
Definition at line 102 of file ilSCORM13DB.php.
References $DSN.
ilSCORM13DB::getLastId | ( | ) |
Definition at line 87 of file ilSCORM13DB.php.
References $LAST_ID, and getDB().
& ilSCORM13DB::getRecord | ( | $tableOrView, | |
$idname, | |||
$idvalue | |||
) |
Definition at line 131 of file ilSCORM13DB.php.
References escapeName(), and query().
& ilSCORM13DB::getRecords | ( | $tableOrView, | |
$idname = null , |
|||
$idvalues = null , |
|||
$order = null , |
|||
$paging = null |
|||
) |
Definition at line 148 of file ilSCORM13DB.php.
References escapeName(), and query().
ilSCORM13DB::getType | ( | ) |
Definition at line 95 of file ilSCORM13DB.php.
References $TYPE.
Referenced by setRecords().
ilSCORM13DB::il_to_pdo_dsn | ( | $il_dsn | ) |
Definition at line 378 of file ilSCORM13DB.php.
ilSCORM13DB::init | ( | $dsn, | |
$login, | |||
$password, | |||
$type = 'mysql' |
|||
) |
Definition at line 70 of file ilSCORM13DB.php.
& ilSCORM13DB::query | ( | $query, | |
$params = null , |
|||
$order = null , |
|||
$paging = null , |
|||
$fetchType = PDO::FETCH_ASSOC |
|||
) |
Definition at line 258 of file ilSCORM13DB.php.
References $d, $query, addQueries(), escapeName(), and getDB().
Referenced by getRecord(), and getRecords().
ilSCORM13DB::removeRecord | ( | $table, | |
$idname, | |||
$idvalue | |||
) |
Definition at line 220 of file ilSCORM13DB.php.
References removeRecords().
ilSCORM13DB::removeRecords | ( | $tables, | |
$idnames, | |||
$idvalues | |||
) |
Definition at line 225 of file ilSCORM13DB.php.
References $d, escapeName(), exec(), and getDB().
Referenced by removeRecord().
ilSCORM13DB::rollback | ( | ) |
Definition at line 372 of file ilSCORM13DB.php.
References getDB().
|
private |
Definition at line 124 of file ilSCORM13DB.php.
Referenced by setRecords().
ilSCORM13DB::setRecord | ( | $tableOrView, | |
$row, | |||
$idname = null |
|||
) |
Definition at line 142 of file ilSCORM13DB.php.
References $row, and setRecords().
ilSCORM13DB::setRecords | ( | $tableOrView, | |
$rows, | |||
$idname = null |
|||
) |
Definition at line 165 of file ilSCORM13DB.php.
References $d, $row, $type, escapeName(), getDB(), getType(), and setLastId().
Referenced by setRecord().
|
staticprivate |
Definition at line 37 of file ilSCORM13DB.php.
Referenced by escapeName().
|
private |
Definition at line 49 of file ilSCORM13DB.php.
|
staticprivate |
Definition at line 40 of file ilSCORM13DB.php.
|
static |
Definition at line 34 of file ilSCORM13DB.php.
Referenced by getDB().
|
private |
Definition at line 46 of file ilSCORM13DB.php.
|
staticprivate |
Definition at line 35 of file ilSCORM13DB.php.
Referenced by getDSN().
|
private |
Definition at line 47 of file ilSCORM13DB.php.
Referenced by __construct(), and init().
|
staticprivate |
Definition at line 39 of file ilSCORM13DB.php.
Referenced by commit().
|
staticprivate |
Definition at line 51 of file ilSCORM13DB.php.
|
staticprivate |
Definition at line 38 of file ilSCORM13DB.php.
Referenced by getLastId().
|
private |
Definition at line 50 of file ilSCORM13DB.php.
|
staticprivate |
Definition at line 53 of file ilSCORM13DB.php.
|
staticprivate |
Definition at line 36 of file ilSCORM13DB.php.
|
private |
Definition at line 48 of file ilSCORM13DB.php.
Referenced by __construct(), init(), and setRecords().