|
Agile Toolkit
4.2
Agile Toolkit is a powerful web development framework. Inspired by GUI Applications development
|
Public Member Functions | |
| setCharsetProp ($name) | |
| getCharsetProp () | |
| realConnect ($dsn=null) | |
| set_names ($name=null) | |
| useDB ($db) | |
| realQuery ($query, $params=null, $allow_extra=null) | |
| fetchArray () | |
| fetchHash () | |
| numRows () | |
| numCols () | |
| affectedRows () | |
| lastID () | |
| escape ($s) | |
| dts2tms ($dts) | |
| dump ($tables=null) | |
| setAutocommit ($bool=true) | |
| beginTransaction ($option=null) | |
| commit ($option=null) | |
| inTransaction () | |
| rollback ($option=null) | |
| savepoint ($identifier) | |
| rollbackToSavepoint ($identifier) | |
| releaseSavepoint ($identifier) | |
| tableHasField ($table, $field) | |
Data Fields | |
| $cursor | |
| $handle | |
| $transaction_depth = 0 | |
| $last_query | |
This class implements mysql compatibility for DBlite layer.
| affectedRows | ( | ) |
Rows affected by update/delete
| beginTransaction | ( | $ | option = null | ) |
Begin a transaction, turning off autocommit
| commit | ( | $ | option = null | ) |
Commit the changes
| dts2tms | ( | $ | dts | ) |
[DEPRECATED] please use strtotime() analogue. convert datetime in mysql string format, return timestamp
| dump | ( | $ | tables = null | ) |
Dumps db to a fileto a file
| array | $tables |
| escape | ( | $ | s | ) |
Escapes special characters in a string for use in a SQL statement
| fetchArray | ( | ) |
| fetchHash | ( | ) |
| getCharsetProp | ( | ) |
| inTransaction | ( | ) |
Returns true if there is a transaction started
| lastID | ( | ) |
Rows after select statement
| numRows | ( | ) |
Rows after select statement
| realConnect | ( | $ | dsn = null | ) |
| realQuery | ( | $ | query, |
| $ | params = null, |
||
| $ | allow_extra = null |
||
| ) |
| releaseSavepoint | ( | $ | identifier | ) |
Removes the named savepoint from the set of savepoints of the current transaction. No commit or rollback occurs. It is an error if the savepoint does not exist.
| rollback | ( | $ | option = null | ) |
Rollback the changes
| rollbackToSavepoint | ( | $ | identifier | ) |
rolls back a transaction to the named savepoint without terminating the transaction
| savepoint | ( | $ | identifier | ) |
sets a named transaction savepoint with a name of identifier.
| set_names | ( | $ | name = null | ) |
| setAutocommit | ( | $ | bool = true | ) |
| setCharsetProp | ( | $ | name | ) |
| tableHasField | ( | $ | table, |
| $ | field | ||
| ) |
Retturns true if specified table has this field
| useDB | ( | $ | db | ) |
| $cursor |
Value of current query
| $handle |
| $last_query |
| $transaction_depth = 0 |