original_string: protected function setMetaIndexCategory()
      {
          $this->setMetaEntity($this->data_category);
  
          if (empty($this->data_children) && empty($this->data_products)) {
              $this->setMeta(array('name' => 'robots', 'content' => 'noindex'));
          }
      }
code: protected function setMetaIndexCategory()
      {
          $this->setMetaEntity($this->data_category);
  
          if (empty($this->data_children) && empty($this->data_products)) {
              $this->setMeta(array('name' => 'robots', 'content' => 'noindex'));
          }
      }
code_tokens: protected function setMetaIndexCategory ( ) { $ this -> setMetaEntity ( $ this -> data_category ) ; if ( empty ( $ this -> data_children ) && empty ( $ this -> data_products ) ) { $ this -> setMeta ( array ( 'name' => 'robots' , 'content' => 'noindex' ) ) ; } }
docstring: Sets the meta tags on the category page
docstring_tokens: Sets the meta tags on the category page