Private Method Details |
connect |
private int connect( &$dsn, $user, $pw )
|
|
Connect to a database and log in as the specified user.
|
Parameter |
|
|
&$dsn |
|
|
Warning: documentation is missing. |
|
|
|
$user |
|
|
Warning: documentation is missing. |
|
|
|
$pw |
|
|
Warning: documentation is missing. |
|
Returns |
int DB_OK on success, a DB error code on failure |
|
simpleQuery |
private int simpleQuery( $query )
|
|
Send a query to ODBC and return the results as a ODBC resource
identifier.
|
Parameter |
|
|
$query |
|
|
Warning: documentation is missing. |
|
Returns |
int returns a valid ODBC result for successful SELECT
queries, DB_OK for other successful queries. A DB error code
is returned on failure. |
|
disconnect |
private void disconnect( )
|
|
Warning: documentation is missing.
|
Returns |
void |
|
query |
private void query( $query )
|
|
Warning: documentation is missing.
|
Parameter |
|
|
$query |
|
|
Warning: documentation is missing. |
|
Returns |
void |
|
fetchRow |
private void fetchRow( $result )
|
|
Warning: documentation is missing.
|
Parameter |
|
|
$result |
|
|
Warning: documentation is missing. |
|
Returns |
void |
|
freeResult |
private void freeResult( $result )
|
|
Warning: documentation is missing.
|
Parameter |
|
|
$result |
|
|
Warning: documentation is missing. |
|
Returns |
void |
|
quoteString |
private void quoteString( string $string )
|
|
Quotes a string so it can be safely used within string delimiters
in a query.
Warning: documentation is missing.
|
Parameter |
|
string |
$string |
|
|
input string to quote |
|
Returns |
void |
|