PHP 클래스 Storm\Core\Relational\ResultRow

저자: Elliot Levin ([email protected])
상속: extends ColumnData
파일 보기 프로젝트 열기: timetoogo/penumbra 1 사용 예제들

공개 메소드들

메소드 설명
GetAllDataFromColumns ( array $ResultRows, array $Columns ) : ResultRow[] Gets the data from the supplied columns from all of the supplied result rows NOTE: Keys are preserved.
GetData ( )
GetDataFromColumns ( array $Columns ) : ResultRow Gets the data from the supplied columns
GetPrimaryKey ( Storm\Core\Relational\ITable $Table ) : PrimaryKey Get a the primary key of the supplied table
GetPrimaryKeys ( ) : PrimaryKeys[]
GetRow ( Storm\Core\Relational\ITable $Table ) : Row Get a the row of the supplied table
GetRows ( ) : Row[]
GetTables ( ) : Storm\Core\Relational\ITable[]
IsOf ( Storm\Core\Relational\ITable $Table )
SetData ( array $Data )
__clone ( )
__construct ( array &$Columns, array $ColumnData = [] )

보호된 메소드들

메소드 설명
AddColumnData ( Storm\Core\Relational\IColumn $Column, $Data )
GetColumnData ( Storm\Core\Relational\IColumn $Column )
HasColumnData ( Storm\Core\Relational\IColumn $Column )
RemoveColumnData ( Storm\Core\Relational\IColumn $Column )

비공개 메소드들

메소드 설명
InvalidTable ( Storm\Core\Relational\ITable $Table )

메소드 상세

AddColumnData() 보호된 메소드

protected AddColumnData ( Storm\Core\Relational\IColumn $Column, $Data )
$Column Storm\Core\Relational\IColumn

GetAllDataFromColumns() 최종 공개 정적인 메소드

Gets the data from the supplied columns from all of the supplied result rows NOTE: Keys are preserved.
final public static GetAllDataFromColumns ( array $ResultRows, array $Columns ) : ResultRow[]
$ResultRows array The result rows to get the data from
$Columns array The columns to get the from
리턴 ResultRow[] The data of the supplied columns

GetColumnData() 보호된 메소드

protected GetColumnData ( Storm\Core\Relational\IColumn $Column )
$Column Storm\Core\Relational\IColumn

GetData() 공개 메소드

public GetData ( )

GetDataFromColumns() 최종 공개 메소드

Gets the data from the supplied columns
final public GetDataFromColumns ( array $Columns ) : ResultRow
$Columns array The columns to get the from
리턴 ResultRow The data of the supplied columns

GetPrimaryKey() 최종 공개 메소드

Get a the primary key of the supplied table
final public GetPrimaryKey ( Storm\Core\Relational\ITable $Table ) : PrimaryKey
$Table Storm\Core\Relational\ITable The table of the primary key to retreive
리턴 PrimaryKey The matching primary key

GetPrimaryKeys() 최종 공개 메소드

final public GetPrimaryKeys ( ) : PrimaryKeys[]
리턴 PrimaryKeys[]

GetRow() 최종 공개 메소드

Get a the row of the supplied table
final public GetRow ( Storm\Core\Relational\ITable $Table ) : Row
$Table Storm\Core\Relational\ITable The table of the row to retreive
리턴 Row The matching row

GetRows() 최종 공개 메소드

final public GetRows ( ) : Row[]
리턴 Row[]

GetTables() 최종 공개 메소드

final public GetTables ( ) : Storm\Core\Relational\ITable[]
리턴 Storm\Core\Relational\ITable[]

HasColumnData() 보호된 메소드

protected HasColumnData ( Storm\Core\Relational\IColumn $Column )
$Column Storm\Core\Relational\IColumn

IsOf() 최종 공개 메소드

final public IsOf ( Storm\Core\Relational\ITable $Table )
$Table Storm\Core\Relational\ITable

RemoveColumnData() 보호된 메소드

protected RemoveColumnData ( Storm\Core\Relational\IColumn $Column )
$Column Storm\Core\Relational\IColumn

SetData() 공개 메소드

public SetData ( array $Data )
$Data array

__clone() 공개 메소드

public __clone ( )

__construct() 공개 메소드

public __construct ( array &$Columns, array $ColumnData = [] )
$Columns array
$ColumnData array