Method | Description | |
---|---|---|
GetFieldFlags ( ) : ColumnFlags |
Gets flags of the current field.
|
|
GetFieldFlags ( int fieldIndex ) : ColumnFlags |
Gets flags of a specified field.
|
|
GetRealTableName ( int fieldIndex ) : string |
field RealTableName
|
|
IsNumericType ( string phpName ) : bool |
Determines whether a type of a specified PHP name is a numeric type.
|
|
PhpMyDbResult ( PHP.Library.Data.PhpDbConnection connection, IDataReader reader, bool convertTypes ) : System |
Creates an instance of a result resource.
|
Method | Description | |
---|---|---|
GetCustomData ( ) : object |
Collect additional information about current row of Reader.
|
|
GetValues ( string dataTypes, bool convertTypes ) : object[] |
Gets row values.
|
|
MapFieldTypeName ( string typeName ) : string |
Maps MySQL .NET Connector's type name to the one displayed by PHP.
|
Method | Description | |
---|---|---|
ConvertDateTime ( string dataType, System.DateTime value ) : string | ||
ConvertDbValue ( string dataType, object sqlValue ) : object |
Converts a value of a specified MySQL DB type to PHP value.
|
|
ValidResult ( PHP.Core.PhpResource handle ) : |
public GetFieldFlags ( int fieldIndex ) : ColumnFlags | ||
fieldIndex | int | An index of the field. |
return | ColumnFlags |
public GetRealTableName ( int fieldIndex ) : string | ||
fieldIndex | int | |
return | string |
protected GetValues ( string dataTypes, bool convertTypes ) : object[] | ||
dataTypes | string | Data type names. |
convertTypes | bool | Whether to convert value to PHP types. |
return | object[] |
public IsNumericType ( string phpName ) : bool | ||
phpName | string | PHP type name. |
return | bool |
protected MapFieldTypeName ( string typeName ) : string | ||
typeName | string | MySQL .NET Connector's name. |
return | string |
public PhpMyDbResult ( PHP.Library.Data.PhpDbConnection connection, IDataReader reader, bool convertTypes ) : System | ||
connection | PHP.Library.Data.PhpDbConnection | Database connection. |
reader | IDataReader | Data reader from which to load results. |
convertTypes | bool | Whether to convert resulting values to PHP types. |
return | System |