original_string: protected function setDataCartFormIndexProduct()
      {
          $data = array(
              'product' => $this->data_product,
              'share' => $this->getWidgetShare()
          );
  
          $this->setData('cart_form', $this->render('cart/add', $data, true));
      }
code: protected function setDataCartFormIndexProduct()
      {
          $data = array(
              'product' => $this->data_product,
              'share' => $this->getWidgetShare()
          );
  
          $this->setData('cart_form', $this->render('cart/add', $data, true));
      }
code_tokens: protected function setDataCartFormIndexProduct ( ) { $ data = array ( 'product' => $ this -> data_product , 'share' => $ this -> getWidgetShare ( ) ) ; $ this -> setData ( 'cart_form' , $ this -> render ( 'cart/add' , $ data , true ) ) ; }
docstring: Sets the "Add to cart" form
docstring_tokens: Sets the Add to cart form