original_string: 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));
      }
code: 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));
      }
code_tokens: 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 ) ) ; }
docstring: Sets navigation bar on the category page
docstring_tokens: Sets navigation bar on the category page