behaviors\AttributeTypecastBehavior $typecastBeforeSave

$typecastBeforeSave public property

Whether to perform typecasting before saving owner model (insert or update). This option may be disabled in order to achieve better performance. For example, in case of yii\db\ActiveRecord usage, typecasting before save will grant no benefit an thus can be disabled. Note that changing this option value will have no effect after this behavior has been attached to the model.

doc_Yii
2016-10-30 16:52:47
Comments
Leave a Comment

Please login to continue.