original_string: protected function setDataDescriptionIndexProduct()
      {
          $description = $this->data_product['description'];
  
          if (!empty($description)) {
              $exploded = $this->explodeText($description);
              if (!empty($exploded[1])) {
                  $description = $exploded[1];
              }
          }
  
          $rendered = $this->render('product/description', array('description' => $description));
          $this->setData('description', $rendered);
      }
code: protected function setDataDescriptionIndexProduct()
      {
          $description = $this->data_product['description'];
  
          if (!empty($description)) {
              $exploded = $this->explodeText($description);
              if (!empty($exploded[1])) {
                  $description = $exploded[1];
              }
          }
  
          $rendered = $this->render('product/description', array('description' => $description));
          $this->setData('description', $rendered);
      }
code_tokens: protected function setDataDescriptionIndexProduct ( ) { $ description = $ this -> data_product [ 'description' ] ; if ( ! empty ( $ description ) ) { $ exploded = $ this -> explodeText ( $ description ) ; if ( ! empty ( $ exploded [ 1 ] ) ) { $ description = $ exploded [ 1 ] ; } } $ rendered = $ this -> render ( 'product/description' , array ( 'description' => $ description ) ) ; $ this -> setData ( 'description' , $ rendered ) ; }
docstring: Sets the product description
docstring_tokens: Sets the product description