\Query\TableTable_Column

Class representing a column when creating a table

Summary

Methods
Properties
Constants
__construct()
__toString()
set_options()
__get()
__set()
No public properties found
No constants found
No protected methods found
$name
$type
$valid_options
N/A
No private methods found
No private properties found
N/A

Properties

$name

$name : string

The name of the column

Type

string

$type

$type : string

The type of the column

Type

string

$valid_options

$valid_options : array

Valid options for the current class

Type

array

Methods

__construct()

__construct(string $name, \Query\Table\[string] $type, \Query\Table\[array] $options)

Set the attributes for the column

Parameters

string $name
\Query\Table\[string] $type
\Query\Table\[array] $options

__toString()

__toString()

String representation of the column/index

set_options()

set_options(array $options)

Set options for the current column

Parameters

array $options

return \Query\Table_Column

__get()

__get(mixed $name) : mixed

Getters

Parameters

mixed $name

Returns

mixed

__set()

__set(mixed $name, mixed $val) : \Query\Table_Column

Setters

Parameters

mixed $name
mixed $val

Returns

\Query\Table_Column