PHP Interface Storm\Core\Relational\IColumn

Author: Elliot Levin ([email protected])
Mostra file Open project: timetoogo/penumbra Interface Usage Examples

Public Methods

Method Description
GetIdentifier ( ) : string The value identifier for the column.
GetName ( ) : string Gets the name of the column.
GetTable ( ) : Storm\Core\Relational\ITable | null
HasTable ( ) : boolean
IsPrimaryKey ( ) : boolean Whether or not the column is a primary key
SetName ( string $Name ) : void Sets the name of the column.
SetTable ( Storm\Core\Relational\ITable $Table = null ) : void Set the parent table.
ToPersistenceValue ( $Value )
ToPropertyValue ( $Value )

Method Details

GetIdentifier() public method

The value identifier for the column.
public GetIdentifier ( ) : string
return string The identifier

GetName() public method

Gets the name of the column.
public GetName ( ) : string
return string

GetTable() public method

public GetTable ( ) : Storm\Core\Relational\ITable | null
return Storm\Core\Relational\ITable | null

HasTable() public method

public HasTable ( ) : boolean
return boolean

IsPrimaryKey() public method

Whether or not the column is a primary key
public IsPrimaryKey ( ) : boolean
return boolean

SetName() public method

Sets the name of the column.
public SetName ( string $Name ) : void
$Name string The column name
return void

SetTable() public method

Set the parent table.
public SetTable ( Storm\Core\Relational\ITable $Table = null ) : void
$Table Storm\Core\Relational\ITable The parent table
return void

ToPersistenceValue() public method

public ToPersistenceValue ( $Value )

ToPropertyValue() public method

public ToPropertyValue ( $Value )