Column
class Column (View source)
The Column class.
Constants
SIGNED |
|
UNSIGNED |
|
ALLOW_NULL |
|
NOT_NULL |
|
Methods
Class init.
Method to get property Name
Method to get property Type
Method to get property Position
Method to get property Comment
Method to get property Signed
Method to get property AllowNull
Method to get property Default
Method to set property default
Method to get property AutoIncrement
Method to set property autoIncrement
Method to get property Length
setOptions
Method to get property Primary
Details
at line line 119
__construct(string $name = null, string $type = 'text', bool $signed = false, bool $allowNull = false, string $default = null, string $comment = '', array $options = array())
Class init.
at line line 136
string
getName()
Method to get property Name
at line line 160
string
getType()
Method to get property Type
at line line 184
string
getPosition()
Method to get property Position
at line line 208
string
getComment()
Method to get property Comment
at line line 232
boolean
getSigned()
Method to get property Signed
at line line 256
boolean
getAllowNull()
Method to get property AllowNull
at line line 280
string
getDefault()
Method to get property Default
at line line 304
boolean
getAutoIncrement()
Method to get property AutoIncrement
at line line 316
Column
autoIncrement(boolean $autoIncrement = true)
Method to set property autoIncrement
at line line 328
int
getLength()
Method to get property Length
at line line 386
boolean
isPrimary()
Method to get property Primary