PHP Class Storm\Core\Relational\Table

Inheritance: implements Storm\Core\Relational\ITable, use trait Storm\Core\Helpers\Type
Afficher le fichier Open project: timetoogo/penumbra Class Usage Examples

Méthodes publiques

Méthode 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 ( )

Méthodes protégées

Méthode 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

Méthode 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 méthode

{@inheritDoc}
final public GetColumn ( $Name )

GetColumnByIdentifier() final public méthode

{@inheritDoc}
final public GetColumnByIdentifier ( $Identifier )

GetColumnIdentifiers() final public méthode

{@inheritDoc}
final public GetColumnIdentifiers ( )

GetColumns() final public méthode

{@inheritDoc}
final public GetColumns ( )

GetColumnsByIdentifier() final public méthode

{@inheritDoc}
final public GetColumnsByIdentifier ( )

GetDepedencyOrderBetween() final public méthode

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

GetDiscardingOrderBetween() final public méthode

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

GetName() final public méthode

{@inheritDoc}
final public GetName ( )

GetPersistingOrderBetween() final public méthode

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

GetPrimaryKeyColumnIdentifiers() final public méthode

{@inheritDoc}

GetPrimaryKeyColumns() final public méthode

{@inheritDoc}
final public GetPrimaryKeyColumns ( )

GetPrimaryKeyColumnsByIdentifier() final public méthode

{@inheritDoc}

GetToManyRelations() final public méthode

{@inheritDoc}
final public GetToManyRelations ( )

GetToOneRelations() final public méthode

{@inheritDoc}
final public GetToOneRelations ( )

HasColumn() final public méthode

{@inheritDoc}
final public HasColumn ( $Name )

HasPrimaryKey() final public méthode

{@inheritDoc}
final public HasPrimaryKey ( $Name )

InitializeRelatedStructure() abstract public méthode

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

InitializeRelations() final public méthode

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

InitializeStructure() final public méthode

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

Is() final public méthode

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

Name() abstract protected méthode

Get the table name.
abstract protected Name ( ) : string
Résultat string

OnInitializeRelations() protected méthode

protected OnInitializeRelations ( Database $Database )
$Database Database

OnInitializeStructure() protected méthode

protected OnInitializeStructure ( Database $Database )
$Database Database

OnRelationsInitialized() protected méthode

protected OnRelationsInitialized ( Database $Database )
$Database Database

OnStructureInitialized() protected méthode

protected OnStructureInitialized ( Database $Database )
$Database Database

PrimaryKey() final public méthode

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

RegisterColumns() abstract protected méthode

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

RegisterToManyRelations() abstract protected méthode

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

RegisterToOneRelations() abstract protected méthode

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

Row() final public méthode

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

__construct() public méthode

public __construct ( )