Method | Description | |
---|---|---|
__construct ( $columnInfo ) | Sets the table column meta data. | |
getAllowNull ( ) : boolean | ||
getColumnId ( ) : string | ||
getColumnIndex ( ) : integer | ||
getColumnName ( ) : string | ||
getColumnSize ( ) : string | ||
getDbType ( ) : string | ||
getDefaultValue ( ) : mixed | ||
getIsExcluded ( ) : boolean | ||
getIsForeignKey ( ) : boolean | ||
getIsPrimaryKey ( ) : boolean | ||
getMaxiumNumericConstraint ( ) | ||
getNumericPrecision ( ) : string | ||
getNumericScale ( ) : string | ||
getPHPType ( ) : string | Returns the derived PHP primitive type from the db type. Default returns 'string'. | |
getPdoType ( ) | ||
getSequenceName ( ) | ||
hasSequence ( ) : boolean |
Method | Description | |
---|---|---|
getInfo ( $name, $default = null ) : mixed | ||
setInfo ( $name, $value ) |
public getAllowNull ( ) : boolean | ||
return | boolean | specifies whether value Null is allowed, default is false. |
public getColumnId ( ) : string | ||
return | string | name of the column with quoted identifier. |
public getColumnIndex ( ) : integer | ||
return | integer | zero-based ordinal position of the column in the table. |
public getColumnName ( ) : string | ||
return | string | name of the column in the table (identifier quoted). |
public getDefaultValue ( ) : mixed | ||
return | mixed | default column value if column value was null. |
public getIsExcluded ( ) : boolean | ||
return | boolean | whether this column is excluded from insert and update. |
public getIsForeignKey ( ) : boolean | ||
return | boolean | whether this column is a foreign key, default is false. |
public getIsPrimaryKey ( ) : boolean | ||
return | boolean | whether this column is a primary key for the table, default is false. |
public getNumericPrecision ( ) : string | ||
return | string | precision of the column data, if the data is numeric. |
public getNumericScale ( ) : string | ||
return | string | scale of the column data, if the data is numeric. |
public getPHPType ( ) : string | ||
return | string | derived PHP primitive type from the column db type. |
public hasSequence ( ) : boolean | ||
return | boolean | whether the column is a sequence. |