public function afterFind() { parent::afterFind(); $this->args = json_decode($this->args); $this->created_at = Yii::$app->formatter->asRelativeTime($this->created_at); // $this->content = mb_strcut($this->content,0,90,'UTF-8'); }