Class database_mysqli
mysqli database implementation
- cmc\db\database
- cmc\db\mysqli\database_mysqli
Methods summary
public | # __construct( string $dataenv, string $database, mixed $server ) Parameters - $dataenv
string database name if any - $database
string server name, IP address, ... - $server
Overrides |
public boolean | # connect( ) opens the connection Returns boolean |
public boolean | # is_connected( ) is connected? Returns boolean |
public | |
public string|null | # getLastError( ) retrieves the database late error text retrieves the database late error text Returns string|null |
public | |
public boolean | # getdataSource( string $sqlData ) creates a new datasource from sql text creates a new datasource from sql text Parameters - $sqlData
string sql statement text Returns boolean Throws |
public cmc\db\datatable | # gettable( mixed $tablename, mixed $sort = false ) creates an object for 'table' acccess creates an object for 'table' acccess Returns |
public | # validstmt( mixed $stmt, mixed $bInvalidate = false ) |
public | # prepareNativeStatement( mixed $sql ) |
public | |
dataenv()
, executeQueries()
, lastError()
, setLogin()
, setPort()
Magic methods summary
Properties summary
$_database
, $_de
, $_lasterror
, $_passwd
, $_port
, $_server
, $_user