protected function setTotalListBlog()
    {
        $conditions = $this->query_filter;

        $conditions['status'] = 1;
        $conditions['count'] = true;
        $conditions['blog_post'] = 1;
        $conditions['store_id'] = $this->store_id;

        return $this->data_total = (int) $this->page->getList($conditions);
    }
protected function setTotalListBlog()
    {
        $conditions = $this->query_filter;

        $conditions['status'] = 1;
        $conditions['count'] = true;
        $conditions['blog_post'] = 1;
        $conditions['store_id'] = $this->store_id;

        return $this->data_total = (int) $this->page->getList($conditions);
    }
protected function setTotalListBlog ( ) { $ conditions = $ this -> query_filter ; $ conditions [ 'status' ] = 1 ; $ conditions [ 'count' ] = true ; $ conditions [ 'blog_post' ] = 1 ; $ conditions [ 'store_id' ] = $ this -> store_id ; return $ this -> data_total = ( int ) $ this -> page -> getList ( $ conditions ) ; }
Sets a total number of posts found
@return int
Sets a total number of posts found