Method Details |
getAllowNull
public boolean getAllowNull |
() |
Output |
boolean
| specifies whether value Null is allowed, default is false. |
Exception |
|
getColumnId
public string getColumnId |
() |
Output |
string
| name of the column with quoted identifier. |
Exception |
|
getColumnIndex
public integer getColumnIndex |
() |
Output |
integer
| zero-based ordinal position of the column in the table. |
Exception |
|
getColumnName
public string getColumnName |
() |
Output |
string
| name of the column in the table (identifier quoted). |
Exception |
|
getColumnSize
public string getColumnSize |
() |
Output |
string
| size of the column. |
Exception |
|
getDbType
public string getDbType |
() |
Output |
string
| column type. |
Exception |
|
getDefaultValue
public mixed getDefaultValue |
() |
Output |
mixed
| default column value if column value was null. |
Exception |
|
getInfo
protected mixed getInfo |
(string $name , mixed $default ) |
Input |
string | $name | information array key name |
mixed | $default | default value if information array value is null |
Output |
mixed
| information array value. |
Exception |
|
getIsExcluded
public boolean getIsExcluded |
() |
Output |
boolean
| whether this column is excluded from insert and update. |
Exception |
|
getIsForeignKey
public boolean getIsForeignKey |
() |
Output |
boolean
| whether this column is a foreign key, default is false. |
Exception |
|
getIsPrimaryKey
public boolean getIsPrimaryKey |
() |
Output |
boolean
| whether this column is a primary key for the table, default is false. |
Exception |
|
getMaxiumNumericConstraint
public void getMaxiumNumericConstraint |
() |
|
getNumericPrecision
public string getNumericPrecision |
() |
Output |
string
| precision of the column data, if the data is numeric. |
Exception |
|
getNumericScale
public string getNumericScale |
() |
Output |
string
| scale of the column data, if the data is numeric. |
Exception |
|
getPdoType
public void getPdoType |
(integer 0 ) |
Input |
integer | 0 | PDO bind param/value types, default returns string. |
Output |
Exception |
|
getPHPType
public string getPHPType |
() |
Returns the derived PHP primitive type from the db type. Default returns 'string'.
Output |
string
| derived PHP primitive type from the column db type. |
Exception |
|
getSequenceName
public void getSequenceName |
(string 0 ) |
Input |
string | 0 | sequence name, only applicable if column is a sequence |
Output |
Exception |
|
hasSequence
public boolean hasSequence |
() |
Output |
boolean
| whether the column is a sequence. |
Exception |
|
setInfo
protected void setInfo |
(string $name , mixed $value ) |
Input |
string | $name | information array key name |
mixed | $value | new information array value. |
Output |
Exception |
|