ContentList::afterFind PHP Method

afterFind() protected method

protected afterFind ( )
    protected function afterFind()
    {
        parent::afterFind();
        $arr = unserialize($this->value);
        $this->type = isset($arr['type']) ? $arr['type'] : ConstantDefine::CONTENT_LIST_TYPE_MANUAL;
        $this->lang = isset($arr['lang']) ? $arr['lang'] : '0';
        $this->content_type = isset($arr['content_type']) ? $arr['content_type'] : 'all';
        $this->terms = isset($arr['terms']) ? $arr['terms'] : '0';
        $this->tags = isset($arr['tags']) ? $arr['tags'] : '';
        $this->paging = isset($arr['paging']) ? $arr['paging'] : 0;
        $this->number = isset($arr['number']) ? $arr['number'] : 1;
        $this->criteria = isset($arr['criteria']) ? $arr['criteria'] : '';
        $this->manual_list = isset($arr['manual_list']) ? $arr['manual_list'] : array();
    }