Property | Type | Description | |
---|---|---|---|
QueryGlobalVariable | object | ||
SetServer | void | ||
StripErrorNumber | string | ||
ValidConnection |
Method | Description | |
---|---|---|
GetExceptionMessage ( |
Gets a message from an exception raised by the connector. Removes the initial #{number} and the ending dot.
|
|
GetLastErrorMessage ( ) : string |
Gets the last error message.
|
|
GetLastErrorNumber ( ) : int |
Gets last error number.
|
|
PhpMyDbConnection ( string connectionString ) : System |
Creates a connection resource.
|
Method | Description | |
---|---|---|
CreateCommand ( ) : IDbCommand |
Command factory.
|
|
GetResult ( PHP.Library.Data.PhpDbConnection connection, IDataReader reader, bool convertTypes ) : PHP.Library.Data.PhpDbResult |
Gets a query result resource.
|
Method | Description | |
---|---|---|
QueryGlobalVariable ( string name ) : object |
Queries server for a value of a global variable.
|
|
SetServer ( string value ) : void | ||
StripErrorNumber ( string msg ) : string | ||
ValidConnection ( PHP.Core.PhpResource handle ) : |
public GetExceptionMessage ( |
||
e | Exception. | |
return | string |
protected GetResult ( PHP.Library.Data.PhpDbConnection connection, IDataReader reader, bool convertTypes ) : PHP.Library.Data.PhpDbResult | ||
connection | PHP.Library.Data.PhpDbConnection | Database connection. |
reader | IDataReader | Data reader to be used for result resource population. |
convertTypes | bool | Whether to convert data types to PHP ones. |
return | PHP.Library.Data.PhpDbResult |
public PhpMyDbConnection ( string connectionString ) : System | ||
connectionString | string | |
return | System |