PHP Интерфейс Storm\Core\Relational\ITable

Автор: Elliot Levin ([email protected])
Показать файл Открыть проект Примеры использования интерфейса

Открытые методы

Метод Описание
GetColumn ( string $Name ) : Storm\Core\Relational\IColumn | null
GetColumnByIdentifier ( string $Identifier ) : Storm\Core\Relational\IColumn | null
GetColumnIdentifiers ( ) : string[]
GetColumns ( ) : Storm\Core\Relational\IColumn[] Gets the table columns, indexed by their respective column name.
GetColumnsByIdentifier ( ) : Storm\Core\Relational\IColumn[]
GetDepedencyOrderBetween ( $DependencyMode, Storm\Core\Relational\ITable $OtherTable ) : integer
GetDiscardingOrderBetween ( Storm\Core\Relational\ITable $OtherTable ) : integer
GetName ( ) : string
GetPersistingOrderBetween ( Storm\Core\Relational\ITable $OtherTable ) : integer
GetPrimaryKeyColumnIdentifiers ( ) : string[]
GetPrimaryKeyColumns ( ) : Storm\Core\Relational\IColumn[] Gets the table columns which are primary keys, indexed by their respective column name.
GetPrimaryKeyColumnsByIdentifier ( ) : Storm\Core\Relational\IColumn[]
GetToManyRelations ( ) : Storm\Core\Relational\IToManyRelation[]
GetToOneRelations ( ) : Storm\Core\Relational\IToOneRelation[]
HasColumn ( string $Name ) : boolean
HasPrimaryKey ( string $Name ) : boolean
InitializeRelatedStructure ( Database $Database ) : void Initializes the related structure of the table.
InitializeRelations ( Database $Database ) : void Initializes the relations of the table.
InitializeStructure ( Database $Database ) : void Initializes the columns of the table.
Is ( Storm\Core\Relational\ITable $Table )
PrimaryKey ( array $Data = [] ) : PrimaryKey Get a primary key of this table
Row ( array $Data = [] ) : Row Get a row of this table

Описание методов

GetColumn() публичный Метод

public GetColumn ( string $Name ) : Storm\Core\Relational\IColumn | null
$Name string The column name
Результат Storm\Core\Relational\IColumn | null

GetColumnByIdentifier() публичный Метод

public GetColumnByIdentifier ( string $Identifier ) : Storm\Core\Relational\IColumn | null
$Identifier string The column identifier
Результат Storm\Core\Relational\IColumn | null

GetColumnIdentifiers() публичный Метод

public GetColumnIdentifiers ( ) : string[]
Результат string[]

GetColumns() публичный Метод

Gets the table columns, indexed by their respective column name.
public GetColumns ( ) : Storm\Core\Relational\IColumn[]
Результат Storm\Core\Relational\IColumn[]

GetColumnsByIdentifier() публичный Метод

public GetColumnsByIdentifier ( ) : Storm\Core\Relational\IColumn[]
Результат Storm\Core\Relational\IColumn[]

GetDepedencyOrderBetween() публичный Метод

public GetDepedencyOrderBetween ( $DependencyMode, Storm\Core\Relational\ITable $OtherTable ) : integer
$OtherTable Storm\Core\Relational\ITable The other table
Результат integer The dependency order

GetDiscardingOrderBetween() публичный Метод

public GetDiscardingOrderBetween ( Storm\Core\Relational\ITable $OtherTable ) : integer
$OtherTable Storm\Core\Relational\ITable The other table
Результат integer The dependency order

GetName() публичный Метод

public GetName ( ) : string
Результат string

GetPersistingOrderBetween() публичный Метод

public GetPersistingOrderBetween ( Storm\Core\Relational\ITable $OtherTable ) : integer
$OtherTable Storm\Core\Relational\ITable The other table
Результат integer The dependency order

GetPrimaryKeyColumnIdentifiers() публичный Метод

public GetPrimaryKeyColumnIdentifiers ( ) : string[]
Результат string[]

GetPrimaryKeyColumns() публичный Метод

Gets the table columns which are primary keys, indexed by their respective column name.
public GetPrimaryKeyColumns ( ) : Storm\Core\Relational\IColumn[]
Результат Storm\Core\Relational\IColumn[]

GetPrimaryKeyColumnsByIdentifier() публичный Метод

public GetPrimaryKeyColumnsByIdentifier ( ) : Storm\Core\Relational\IColumn[]
Результат Storm\Core\Relational\IColumn[]

GetToManyRelations() публичный Метод

public GetToManyRelations ( ) : Storm\Core\Relational\IToManyRelation[]
Результат Storm\Core\Relational\IToManyRelation[]

GetToOneRelations() публичный Метод

public GetToOneRelations ( ) : Storm\Core\Relational\IToOneRelation[]
Результат Storm\Core\Relational\IToOneRelation[]

HasColumn() публичный Метод

public HasColumn ( string $Name ) : boolean
$Name string The column name
Результат boolean

HasPrimaryKey() публичный Метод

public HasPrimaryKey ( string $Name ) : boolean
$Name string The column name
Результат boolean

InitializeRelatedStructure() публичный Метод

Initializes the related structure of the table.
public InitializeRelatedStructure ( Database $Database ) : void
$Database Database The parent database
Результат void

InitializeRelations() публичный Метод

Initializes the relations of the table.
public InitializeRelations ( Database $Database ) : void
$Database Database The parent database
Результат void

InitializeStructure() публичный Метод

Initializes the columns of the table.
public InitializeStructure ( Database $Database ) : void
$Database Database The parent database
Результат void

Is() публичный Метод

public Is ( Storm\Core\Relational\ITable $Table )
$Table Storm\Core\Relational\ITable

PrimaryKey() публичный Метод

Get a primary key of this table
public PrimaryKey ( array $Data = [] ) : PrimaryKey
$Data array The column data
Результат PrimaryKey The row

Row() публичный Метод

Get a row of this table
public Row ( array $Data = [] ) : Row
$Data array The column data
Результат Row The row