behaviors\AttributeTypecastBehavior $typecastAfterFind

$typecastAfterFind public property

Whether to perform typecasting after retrieving owner model data from the database (after find or refresh). This option may be disabled in order to achieve better performance. For example, in case of yii\db\ActiveRecord usage, typecasting after find will grant no benefit in most cases 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:46
Comments
Leave a Comment

Please login to continue.