Constructor for the Column class
Column
Column
(string $name)
-
string
$name: The name of the column
Get the external column name
string
get_external_name
()
Get is_autoincrement
bool
get_is_autoincrement
()
Get is_key
bool
get_is_key
()
Get is_required
bool
get_is_required
()
Get the column name
string
get_name
()
Get the column size
int
get_size
()
Get the column type
string
get_type
()
Get the column values (for enumeration)
array
get_values
()
Set is_autoincrement
void
set_is_autoincrement
(bool $is_autoincrement)
-
bool
$is_autoincrement: True or false
Set is_key
void
set_is_key
(bool $is_key)
-
bool
$is_key: True or false
Set is_required
void
set_is_required
(bool $is_required)
-
bool
$is_required: True or false
Set the column size
void
set_size
(int $size)
Set the column type
void
set_type
(string $type)
Set the column values (for enumeration)
void
set_values
(array $values)
-
array
$values: Array of values