Alive Fields
1.01
|
Public Member Functions | |
handleError ($x) | |
query_read ($query, $limit_rows_returned=0) | |
query_write ($query, $limit_rows_affected=0) | |
escape_field_name ($field, $add_quotes=true) | |
escape_table_name ($field, $add_quotes=true) | |
escape_field_value ($field, $add_quotes=true) | |
escape_field_value_mysql ($val, $add_quotes=true) | |
escape_field_value_mssql ($val, $add_quotes=true) |
An adapter for unit testing
Last Revision: Date: January 2011
handleError | ( | $ | x | ) |
Handle Error,
$x | str, the error message |
This function will be called by Alive Fields in the event a library error occurs. You can adapt it to handle errors in whichever way you want.
query_write | ( | $ | query, |
$ | limit_rows_affected = 0 |
||
) |
Execute an UPDATE, INSERT, or DELETE query allows write access.
Implements AcAdapter_Interface.