PHP Class Storm\Core\Relational\Table

Inheritance: implements Storm\Core\Relational\ITable, use trait Storm\Core\Helpers\Type
ファイルを表示 Open project: timetoogo/penumbra Class Usage Examples

Public Methods

Method Description
GetColumn ( $Name ) {@inheritDoc}
GetColumnByIdentifier ( $Identifier ) {@inheritDoc}
GetColumnIdentifiers ( ) {@inheritDoc}
GetColumns ( ) {@inheritDoc}
GetColumnsByIdentifier ( ) {@inheritDoc}
GetDepedencyOrderBetween ( $DependencyMode, Storm\Core\Relational\ITable $OtherTable ) {@inheritDoc}
GetDiscardingOrderBetween ( Storm\Core\Relational\ITable $OtherTable ) {@inheritDoc}
GetName ( ) {@inheritDoc}
GetPersistingOrderBetween ( Storm\Core\Relational\ITable $OtherTable ) {@inheritDoc}
GetPrimaryKeyColumnIdentifiers ( ) {@inheritDoc}
GetPrimaryKeyColumns ( ) {@inheritDoc}
GetPrimaryKeyColumnsByIdentifier ( ) {@inheritDoc}
GetToManyRelations ( ) {@inheritDoc}
GetToOneRelations ( ) {@inheritDoc}
HasColumn ( $Name ) {@inheritDoc}
HasPrimaryKey ( $Name ) {@inheritDoc}
InitializeRelatedStructure ( Database $Database ) {@inheritDoc}
InitializeRelations ( Database $Database ) {@inheritDoc}
InitializeStructure ( Database $Database ) {@inheritDoc}
Is ( Storm\Core\Relational\ITable $Table ) {@inheritDoc}
PrimaryKey ( array $Data = [] ) {@inheritDoc}
Row ( array $Data = [] ) {@inheritDoc}
__construct ( )

Protected Methods

Method Description
Name ( ) : string Get the table name.
OnInitializeRelations ( Database $Database )
OnInitializeStructure ( Database $Database )
OnRelationsInitialized ( Database $Database )
OnStructureInitialized ( Database $Database )
RegisterColumns ( Registrar $Registrar, Database $Database ) : Storm\Core\Relational\IColumn[] Gets the table columns.
RegisterToManyRelations ( Registrar $Registrar, Database $Database ) : IToManyRelations[] Gets the to many relations.
RegisterToOneRelations ( Registrar $Registrar, Database $Database ) : IToOneRelations[] Gets the to one relations.

Private Methods

Method Description
AddColumn ( Storm\Core\Relational\IColumn $Column ) Add a column to the table.
GetDepedencyOrderBetweenInternal ( $ForPersising, Storm\Core\Relational\ITable $OtherTable, $Reversed = false )

Method Details

GetColumn() final public method

{@inheritDoc}
final public GetColumn ( $Name )

GetColumnByIdentifier() final public method

{@inheritDoc}
final public GetColumnByIdentifier ( $Identifier )

GetColumnIdentifiers() final public method

{@inheritDoc}
final public GetColumnIdentifiers ( )

GetColumns() final public method

{@inheritDoc}
final public GetColumns ( )

GetColumnsByIdentifier() final public method

{@inheritDoc}
final public GetColumnsByIdentifier ( )

GetDepedencyOrderBetween() final public method

{@inheritDoc}
final public GetDepedencyOrderBetween ( $DependencyMode, Storm\Core\Relational\ITable $OtherTable )
$OtherTable Storm\Core\Relational\ITable

GetDiscardingOrderBetween() final public method

{@inheritDoc}
final public GetDiscardingOrderBetween ( Storm\Core\Relational\ITable $OtherTable )
$OtherTable Storm\Core\Relational\ITable

GetName() final public method

{@inheritDoc}
final public GetName ( )

GetPersistingOrderBetween() final public method

{@inheritDoc}
final public GetPersistingOrderBetween ( Storm\Core\Relational\ITable $OtherTable )
$OtherTable Storm\Core\Relational\ITable

GetPrimaryKeyColumnIdentifiers() final public method

{@inheritDoc}

GetPrimaryKeyColumns() final public method

{@inheritDoc}
final public GetPrimaryKeyColumns ( )

GetPrimaryKeyColumnsByIdentifier() final public method

{@inheritDoc}

GetToManyRelations() final public method

{@inheritDoc}
final public GetToManyRelations ( )

GetToOneRelations() final public method

{@inheritDoc}
final public GetToOneRelations ( )

HasColumn() final public method

{@inheritDoc}
final public HasColumn ( $Name )

HasPrimaryKey() final public method

{@inheritDoc}
final public HasPrimaryKey ( $Name )

InitializeRelatedStructure() abstract public method

{@inheritDoc}
abstract public InitializeRelatedStructure ( Database $Database )
$Database Database

InitializeRelations() final public method

{@inheritDoc}
final public InitializeRelations ( Database $Database )
$Database Database

InitializeStructure() final public method

{@inheritDoc}
final public InitializeStructure ( Database $Database )
$Database Database

Is() final public method

{@inheritDoc}
final public Is ( Storm\Core\Relational\ITable $Table )
$Table Storm\Core\Relational\ITable

Name() abstract protected method

Get the table name.
abstract protected Name ( ) : string
return string

OnInitializeRelations() protected method

protected OnInitializeRelations ( Database $Database )
$Database Database

OnInitializeStructure() protected method

protected OnInitializeStructure ( Database $Database )
$Database Database

OnRelationsInitialized() protected method

protected OnRelationsInitialized ( Database $Database )
$Database Database

OnStructureInitialized() protected method

protected OnStructureInitialized ( Database $Database )
$Database Database

PrimaryKey() final public method

{@inheritDoc}
final public PrimaryKey ( array $Data = [] )
$Data array

RegisterColumns() abstract protected method

Gets the table columns.
abstract protected RegisterColumns ( Registrar $Registrar, Database $Database ) : Storm\Core\Relational\IColumn[]
$Registrar Storm\Core\Containers\Registrar
$Database Database
return Storm\Core\Relational\IColumn[]

RegisterToManyRelations() abstract protected method

Gets the to many relations.
abstract protected RegisterToManyRelations ( Registrar $Registrar, Database $Database ) : IToManyRelations[]
$Registrar Storm\Core\Containers\Registrar
$Database Database
return IToManyRelations[]

RegisterToOneRelations() abstract protected method

Gets the to one relations.
abstract protected RegisterToOneRelations ( Registrar $Registrar, Database $Database ) : IToOneRelations[]
$Registrar Storm\Core\Containers\Registrar
$Database Database
return IToOneRelations[]

Row() final public method

{@inheritDoc}
final public Row ( array $Data = [] )
$Data array

__construct() public method

public __construct ( )