This class integrates FirePHP debugging into the EzSQL MySQL (not MySQLi) abstraction layer.
Methods
MySQLFirephp()
MySQLFirephp(string $title = "ezSql Debug"
)
method |
Integrate FirePHP debugging into the EzSQL MySQLi obstraction layer. |
access |
public |
author |
Brian Tafoya |
version |
1.0 |
Parameters
$title
string
Optional title.
MySQLFirephpGetLastMysqlError()
MySQLFirephpGetLastMysqlError() : mixed
method |
Integrate FirePHP debugging into the EzSQL MySQLi obstraction layer. |
access |
public |
author |
Brian Tafoya |
version |
1.0 |
inherited_from |
\OwpDBMySQLi::MySQLFirephpGetLastMysqlError() |
Returns
mixed
Last recorded MySQL Error
MySQLFirephpGetLastMysqlError()
MySQLFirephpGetLastMysqlError() : mixed
Inherited
method |
Integrate FirePHP debugging into the EzSQL MySQLi obstraction layer. Depreciated. |
access |
public |
author |
Brian Tafoya |
version |
1.0 |
Returns
mixed
Last recorded MySQL Error
__callStatic
__callStatic($method, $parameters) : mixed
InheritedStatic
method |
Static method handler. |
Parameters
$method
$parameters
Returns
mixed
OwpDBMySQLi constructor.
__construct($user, $pass, $db, $host)
Inherited
Parameters
$user
$pass
$db
$host
Exceptions
Debug
__debugInfo()
method |
|
access |
public |
uses |
|
uses |
|
author |
Brian Tafoya |
version |
1.0 |
autocommit
autocommit(boolean $mode = true
)
Inherited
method |
Turns on or off auto-committing database modifications |
Parameters
$mode
boolean
begin
begin()
Inherited
method |
Turns on transaction |
commit
commit() : boolean
Inherited
method |
Turns on transaction |
Returns
boolean
debug
debug()
Inherited
method |
Display debug information. |
debugPhpConsole
debugPhpConsole(string $title = "OwpEzSqlMysql.ezSQL_mysql.debugPhpConsole"
)
Escape a string just like mysql_escape_string which is now depreciated.
escape($inp) : string
Inherited
method |
Escape a string just like mysql_escape_string which is now depreciated. |
author |
Brian Tafoya |
copyright |
Copyright 2001 - 2017, Brian Tafoya. |
version |
1.0 |
Parameters
$inp
Returns
string
executeSqlFile
executeSqlFile($filename)
Static
method |
Execute SQL text file |
author |
Brian Tafoya |
version |
1.0 |
Parameters
$filename
get_col
get_col($queryString) : array | boolean
Inherited
method |
Return an array of a column's data. |
Parameters
$queryString
Returns
array
boolean
get_results
get_results($queryString, string $output = OBJECT
) : array | boolean
Inherited
method |
Return query results. |
Parameters
$queryString
$output
string
Returns
array
boolean
get_row
get_row($queryString, string $output = OBJECT
) : array | boolean | mixed | object | \stdClass
Inherited
Parameters
$queryString
$output
string
Returns
array
boolean
mixed
object
\stdClass
get_var
get_var($queryString) : boolean | string
Inherited
Parameters
$queryString
Returns
boolean
string
hide_errors
hide_errors()
Inherited
method |
Disable error responses. |
initDb
initDb() : object
Static
query
query($queryString) : boolean
Inherited
method |
Execute SQL Query. |
Parameters
$queryString
Exceptions
Returns
boolean
queryMulti
queryMulti($queryString) : boolean
Inherited
method |
Execute SQL Query. |
Parameters
$queryString
Exceptions
Returns
boolean
register_error
register_error($cnt, $errorData)
Inherited
Parameters
$cnt
$errorData
register_error_callback
register_error_callback(array $error_callback_method_array)
Inherited
method |
Register a error handler. |
Parameters
$error_callback_method_array
array
Exceptions
show_errors
show_errors()
Inherited
method |
Enable error responses. |
Properties
Depreciated.
$cache_queries : boolean
Errors storage array.
$captured_errors : array
Col storage array.
$col_info : array
Enable/disable debugging.
$debug : boolean
Error counter.
$debugCnt : integer
Integration for debugging/logging libraries such as phpConsole.
$error_callback_method : array
Last insert ID.
$insert_id : null
last run error.
$last_error : null
last run method/function.
$last_method : null
last run query.
$last_query : null
last result.
$last_result : null
Queries storage array.
$queries : array
Depreciated.
$result : null
Results storage array.
$results : array
Depreciated.
$rows_affected : null
Show/Log errors.
$show_errors : boolean
Depreciated.
$use_disk_cache : boolean
ezSQL Database Object
$ezSqlDB : object
Static