C# 클래스 PHP.Library.Data.PhpMyDbResult

Represents a result of a MySQL command.
상속: PHP.Library.Data.PhpDbResult
파일 보기 프로젝트 열기: DEVSENSE/PhalangerMySql 1 사용 예제들

공개 메소드들

메소드 설명
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.

보호된 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
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 ) : PhpMyDbResult

메소드 상세

GetCustomData() 보호된 메소드

Collect additional information about current row of Reader.
protected GetCustomData ( ) : object
리턴 object

GetFieldFlags() 공개 메소드

Gets flags of the current field.
public GetFieldFlags ( ) : ColumnFlags
리턴 ColumnFlags

GetFieldFlags() 공개 메소드

Gets flags of a specified field.
public GetFieldFlags ( int fieldIndex ) : ColumnFlags
fieldIndex int An index of the field.
리턴 ColumnFlags

GetRealTableName() 공개 메소드

field RealTableName
public GetRealTableName ( int fieldIndex ) : string
fieldIndex int
리턴 string

GetValues() 보호된 메소드

Gets row values.
protected GetValues ( string dataTypes, bool convertTypes ) : object[]
dataTypes string Data type names.
convertTypes bool Whether to convert value to PHP types.
리턴 object[]

IsNumericType() 공개 메소드

Determines whether a type of a specified PHP name is a numeric type.
public IsNumericType ( string phpName ) : bool
phpName string PHP type name.
리턴 bool

MapFieldTypeName() 보호된 메소드

Maps MySQL .NET Connector's type name to the one displayed by PHP.
protected MapFieldTypeName ( string typeName ) : string
typeName string MySQL .NET Connector's name.
리턴 string

PhpMyDbResult() 공개 메소드

Creates an instance of a result resource.
Argument is a null reference.
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.
리턴 System