/database.global.phpDescription
Global framework functions Functions
dbCount
void
dbCount
( $pTable, [ $pWhere = false])
dbDelete
Deletes rows from the table based on the pWhere
void
dbDelete
(type $pTable, [type $pWhere = false])
dbError
void
dbError
()
dbExec
Execute a query and return the resultset
array
dbExec
(string $pSql)
dbExfetch
Execute a query and return the items
array
dbExfetch
(string $pSql, [integer $pRowCount = 1], [type $pMode = PDO::FETCH_ASSOC])
dbFetch
Fetch a row based on the specified Resultset from dbExec()
type
dbFetch
(type $pRes, [type $pCount = 1], [type $pMode = PDO::FETCH_ASSOC])
dbInsert
Inserts the values based on pFields into the table pTable.
integer
dbInsert
(string $pTable, array $pFields)
dbTableFetch
Select items based on pWhere on table pTable and returns pCount items.
type
dbTableFetch
(string $pTable, [integer $pCount = -1], [string $pWhere = false], [type $pMode = PDO::FETCH_ASSOC])
dbTableLang
void
dbTableLang
( $pTable, [ $pCount = -1], [ $pWhere = false])
dbToKeyIndex
void
dbToKeyIndex
( &$pItems, $pIndex)
dbUpdate
Update a row or rows with the values based on pFields into the table pTable.
type
dbUpdate
(string $pTable, string|array $pPrimary, array $pFields)
esc
Escape a string for usage in SQL. Depending on the current database this functions choose the proper escape function.
string
esc
(string $p)
Documentation generated on Tue, 18 Jan 2011 23:34:38 +0100 by phpDocumentor 1.4.3 |
What is Kryn.cms ?
Administrator
Developer
|