Class:Column - Superclass: AbstractAsset AbstractAsset
⌊ Column
public class Column
extends AbstractAsset
www.doctrine-project.org
Field Summary | |
---|---|
protected string | |
protected string | |
protected bool | |
protected int | |
protected bool | |
protected array | |
protected int | |
protected int | |
protected \Doctrine\DBAL\Types\Type | |
protected bool |
Fields inherited from Doctrine\DBAL\Schema\AbstractAsset | |
---|---|
_name |
Constructor Summary | |
---|---|
Column(string columnName, Doctrine\DBAL\Types\Type type, mixed options, int length, bool notNull, mixed default, bool unsigned, bool fixed, int precision, int scale, array platformOptions) Create a new Column |
Method Summary | |
---|---|
void | |
void | |
void | getFixed() |
void | |
void | |
void | getPlatformOption(mixed name) |
void | |
void | |
void | getScale() |
void | getType() |
void | |
void | hasPlatformOption(mixed name) |
Column | setColumnDefinition(mixed value, string ) |
Column | setDefault(mixed default) |
Column | setFixed(bool fixed) |
Column | setLength(int length) |
Column | setNotnull(bool notnull) |
Column | setOptions(array options) |
Column | setPlatformOption(string name, mixed value) |
Column | setPlatformOptions(array platformOptions) |
Column | setPrecision(int precision) |
Column | setScale(int scale) |
Column | |
Column | setUnsigned(bool unsigned) |
array | toArray() |
void |
Methods inherited from Doctrine\DBAL\Schema\AbstractAsset | |
---|---|
getName |
protected string $_columnDefinition = null
protected string $_default = null
protected bool $_fixed = false
protected int $_length = 255
protected bool $_notnull = true
protected array $_platformOptions = array()
protected int $_precision
protected int $_scale
protected \Doctrine\DBAL\Types\Type $_type
protected bool $_unsigned = false
public Column(string columnName, Doctrine\DBAL\Types\Type type, mixed options, int length, bool notNull, mixed default, bool unsigned, bool fixed, int precision, int scale, array platformOptions)
Create a new Column
public void getColumnDefinition()
public void getDefault()
public void getFixed()
public void getLength()
public void getNotnull()
public void getPlatformOption(mixed name)
public void getPlatformOptions()
public void getPrecision()
public void getScale()
public void getType()
public void getUnsigned()
public void hasPlatformOption(mixed name)
public Column setColumnDefinition(mixed value, string )
public Column setDefault(mixed default)
public Column setFixed(bool fixed)
public Column setLength(int length)
public Column setNotnull(bool notnull)
public Column setOptions(array options)
public Column setPlatformOption(string name, mixed value)
public Column setPlatformOptions(array platformOptions)
public Column setPrecision(int precision)
public Column setScale(int scale)
public Column setType(Type type)
public Column setUnsigned(bool unsigned)
public array toArray()
public void visit(Visitor visitor)
Object representation of a database column