final class DefaultColumn implements Column (View source)

A PHP representation of a column

Methods

string
name()

Returns the name of the column.

type()

Returns the type of the column.

bool
isReversed()

Returns whether the column is in descending or ascending order.

bool
isStatic()

Returns true for static columns.

bool
isFrozen()

Returns true for frozen columns.

string
indexName()

Returns name of the index if defined.

string
indexOptions()

Returns index options if present.

Details

string name()

Returns the name of the column.

Return Value

string

Name of the column or null

Type type()

Returns the type of the column.

Return Value

Type

Type of the column

bool isReversed()

Returns whether the column is in descending or ascending order.

Return Value

bool

Whether the column is stored in descending order.

bool isStatic()

Returns true for static columns.

Return Value

bool

Whether the column is static

bool isFrozen()

Returns true for frozen columns.

Return Value

bool

Whether the column is frozen

string indexName()

Returns name of the index if defined.

Return Value

string

Name of the index if defined or null

string indexOptions()

Returns index options if present.

Return Value

string

Index options if present or null