1 | <?php |
||
19 | class ColumnSchema extends \yii\db\ColumnSchema |
||
20 | { |
||
21 | /** |
||
22 | * @var int the dimension of array. Defaults to 0, means this column is not an array. |
||
23 | */ |
||
24 | public $dimension = 0; |
||
25 | /** |
||
26 | * @var bool whether the column schema should OMIT using JSON support feature. |
||
27 | * You can use this property to make upgrade to Yii 2.0.14 easier. |
||
28 | * Default to `false`, meaning JSON support is enabled. |
||
29 | * |
||
30 | * @since 2.0.14.1 |
||
31 | * @deprecated Since 2.0.14.1 and will be removed in 2.1. |
||
32 | */ |
||
33 | public $disableJsonSupport = false; |
||
34 | /** |
||
35 | * @var bool whether the column schema should OMIT using PgSQL Arrays support feature. |
||
36 | * You can use this property to make upgrade to Yii 2.0.14 easier. |
||
37 | * Default to `false`, meaning Arrays support is enabled. |
||
38 | * |
||
39 | * @since 2.0.14.1 |
||
40 | * @deprecated Since 2.0.14.1 and will be removed in 2.1. |
||
41 | */ |
||
42 | public $disableArraySupport = false; |
||
43 | /** |
||
44 | * @var bool whether the Array column value should be unserialized to an [[ArrayExpression]] object. |
||
45 | * You can use this property to make upgrade to Yii 2.0.14 easier. |
||
46 | * Default to `true`, meaning arrays are unserialized to [[ArrayExpression]] objects. |
||
47 | * |
||
48 | * @since 2.0.14.1 |
||
49 | * @deprecated Since 2.0.14.1 and will be removed in 2.1. |
||
50 | */ |
||
51 | public $deserializeArrayColumnToArrayExpression = true; |
||
52 | |||
53 | |||
54 | /** |
||
55 | * {@inheritdoc} |
||
56 | */ |
||
57 | 209 | public function dbTypecast($value) |
|
78 | |||
79 | /** |
||
80 | * {@inheritdoc} |
||
81 | */ |
||
82 | 152 | public function phpTypecast($value) |
|
106 | |||
107 | /** |
||
108 | * Casts $value after retrieving from the DBMS to PHP representation. |
||
109 | * |
||
110 | * @param string|null $value |
||
111 | * @return bool|mixed|null |
||
112 | */ |
||
113 | 152 | protected function phpTypecastValue($value) |
|
136 | |||
137 | /** |
||
138 | * Creates instance of ArrayParser |
||
139 | * |
||
140 | * @return ArrayParser |
||
141 | */ |
||
142 | 14 | protected function getArrayParser() |
|
152 | } |
||
153 |
This property has been deprecated. The supplier of the class has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the property will be removed from the class and what other property to use instead.