phpTypecast() public method Converts the input value according to $phpType after retrieval from the database. If the value is null or an yii\db\Expression, it will not be converted. public mixed phpTypecast ( $value )$value mixed Input value return mixed Converted value
dbTypecast() public method Converts the input value according to $type and $dbType for use in a db query. If the value is null or an yii\db\Expression, it will not be converted. public mixed dbTypecast ( $value )$value mixed Input value return mixed Converted value. This may also be an array containing the value as the first element and the PDO type as the second element.
$precision public property Precision of the column data, if it is numeric. public integer $precision = null
$scale public property Scale of the column data, if it is numeric. public integer $scale = null
$unsigned public property Whether this column is unsigned. This is only meaningful when $type is smallint, integer or bigint. public boolean $unsigned = null
$type public property Abstract type of this column. Possible abstract types include: char, string, text, boolean, smallint, integer, bigint, float, decimal, datetime, timestamp, time, date, binary, and money. public string $type = null
$size public property Display size of the column. public integer $size = null
$isPrimaryKey public property Whether this column is a primary key public boolean $isPrimaryKey = null
$name public property Name of this column (without quotes). public string $name = null
$phpType public property The PHP type of this column. Possible PHP types include: string, boolean, integer, double. public string $phpType = null
Page 458 of 633