public function afterFind() { parent::afterFind(); $this->code_id = preg_split('/[\\[\\],]/i', $this->code_id, -1, PREG_SPLIT_NO_EMPTY); //explode(',', $this->code_id); $this->no_code_id = preg_split('/[\\[\\],]/i', $this->no_code_id, -1, PREG_SPLIT_NO_EMPTY); //explode(',', $this->no_code_id); $this->content = MembersCodesComponent::filterOffMemberCodes($this->content); }