protected function setDataNavbarIndexCategory()
    {
        $data = array(
            'total' => $this->data_total,
            'view' => $this->query_filter['view'],
            'quantity' => count($this->data_products),
            'sort' => "{$this->query_filter['sort']}-{$this->query_filter['order']}"
        );

        $this->setData('navbar', $this->render('category/navbar', $data));
    }
protected function setDataNavbarIndexCategory()
    {
        $data = array(
            'total' => $this->data_total,
            'view' => $this->query_filter['view'],
            'quantity' => count($this->data_products),
            'sort' => "{$this->query_filter['sort']}-{$this->query_filter['order']}"
        );

        $this->setData('navbar', $this->render('category/navbar', $data));
    }
protected function setDataNavbarIndexCategory ( ) { $ data = array ( 'total' => $ this -> data_total , 'view' => $ this -> query_filter [ 'view' ] , 'quantity' => count ( $ this -> data_products ) , 'sort' => "{$this->query_filter['sort']}-{$this->query_filter['order']}" ) ; $ this -> setData ( 'navbar' , $ this -> render ( 'category/navbar' , $ data ) ) ; }
Sets navigation bar on the category page
Sets navigation bar on the category page