Interface INFA_OCSP_DBOBJinterface to handle a database connection object
Located in /db/INFA_OCSP_DBOBJ.phpclass (line 26)
array
getArray
(string $aTable, [array $conditions = NULL], [int $offset = 0], [int $limit = 0], [string $orderBy = ""], [boolean $debug = FALSE])
string
qs_getLikeStmt
(string $searchStr, [boolean $toUpper = FALSE], [boolean $inline = TRUE], [boolean $debug = FALSE])
mixed
quickQuery
(string $aQuery, [int $colNr = -1], [boolean $withErrMsg = False], [boolean $useNames = True], [boolean $secMode = True], [boolean $debug = False])
int
updateArray
(string $aTable, array $conditions, array $values, [int $limit = 0], [boolean $debug = false])
deletes an existing row where the primary key must be set in $valueArr
generates a query and returns an array of the resultset
limit <> a multidimensional array is returned (see queryArray) if limit = 1 a single array is returned (see quickQuery)
conditions: if the column starts with a ? the value is assumed to be an sql statement if the column starts with a ~ a like condition is created else column=slashedvalue(value) is added to the query
inserts a valueArr into the table
inserts a new row out of an array returns the value of the auto_increment field or TRUE in case of an error it returns FALSE
returns a sql statement for use in search
returns $aValue with slashes to use to create query strings
returns (a column) of the first row match
if $colNr > -1 the column value at position $colNr in the select statement is returned (NOTE: index starts at 0)
if $colNr < 0 a array is returend if $usNames the DB-column names are the index otherwise the index of the returned are is the number in the select order
replace existing row or insert now if not exists
inserts a row or update an existing row all existing values not in $valueArr (assoc) will be handeld by db spezifaction see mysql Doc: http://www.mysql.com/doc/en/REPLACE.html
checks if a table exists
updates $values in $aTable where $conditions
Documentation generated on Thu, 08 Jan 2009 17:44:28 +0100 by phpDocumentor 1.4.0a2