PHP Class Storm\Drivers\Dynamic\Relational\Table

Inheritance: extends Storm\Drivers\Base\Relational\Table
显示文件 Open project: timetoogo/penumbra Class Usage Examples

Public Methods

Method Description
__construct ( $Name, Storm\Drivers\Base\Relational\PrimaryKeys\IKeyGenerator $KeyGenerator = null, array $Columns, array $StructuralTraits = [], array $RelationalTraits = [], array $ToOneRelations = [], array $ToManyRelations = [] )

Protected Methods

Method Description
KeyGenerator ( Storm\Drivers\Base\Relational\PrimaryKeys\IKeyGeneratorSet $KeyGenerator )
Name ( )
RegisterColumnStructure ( Registrar $Registrar, Storm\Drivers\Base\Relational\Columns\IColumnSet $Column )
RegisterRelationalTraits ( Registrar $Registrar, Database $Context )
RegisterStructuralTraits ( Registrar $Registrar )
RegisterToManyRelations ( Registrar $Registrar, Database $Context )
RegisterToOneRelations ( Registrar $Registrar, Database $Context )

Method Details

KeyGenerator() final protected method

final protected KeyGenerator ( Storm\Drivers\Base\Relational\PrimaryKeys\IKeyGeneratorSet $KeyGenerator )
$KeyGenerator Storm\Drivers\Base\Relational\PrimaryKeys\IKeyGeneratorSet

Name() final protected method

final protected Name ( )

RegisterColumnStructure() final protected method

final protected RegisterColumnStructure ( Registrar $Registrar, Storm\Drivers\Base\Relational\Columns\IColumnSet $Column )
$Registrar Storm\Core\Containers\Registrar
$Column Storm\Drivers\Base\Relational\Columns\IColumnSet

RegisterRelationalTraits() final protected method

final protected RegisterRelationalTraits ( Registrar $Registrar, Database $Context )
$Registrar Storm\Core\Containers\Registrar
$Context Storm\Core\Relational\Database

RegisterStructuralTraits() final protected method

final protected RegisterStructuralTraits ( Registrar $Registrar )
$Registrar Storm\Core\Containers\Registrar

RegisterToManyRelations() final protected method

final protected RegisterToManyRelations ( Registrar $Registrar, Database $Context )
$Registrar Storm\Core\Containers\Registrar
$Context Storm\Core\Relational\Database

RegisterToOneRelations() final protected method

final protected RegisterToOneRelations ( Registrar $Registrar, Database $Context )
$Registrar Storm\Core\Containers\Registrar
$Context Storm\Core\Relational\Database

__construct() public method

public __construct ( $Name, Storm\Drivers\Base\Relational\PrimaryKeys\IKeyGenerator $KeyGenerator = null, array $Columns, array $StructuralTraits = [], array $RelationalTraits = [], array $ToOneRelations = [], array $ToManyRelations = [] )
$KeyGenerator Storm\Drivers\Base\Relational\PrimaryKeys\IKeyGenerator
$Columns array
$StructuralTraits array
$RelationalTraits array
$ToOneRelations array
$ToManyRelations array