original_string: protected function getProductsSelectCompare()
      {
          $conditions = array(
              'product_id' => $this->getProductComparison());
  
          $options = array(
              'view' => $this->configTheme('compare_view', 'grid'),
              'buttons' => array('cart_add', 'wishlist_add', 'compare_remove')
          );
  
          $products = $this->getProducts($conditions, $options);
          return $this->reindexProductsCompare($products);
      }
code: protected function getProductsSelectCompare()
      {
          $conditions = array(
              'product_id' => $this->getProductComparison());
  
          $options = array(
              'view' => $this->configTheme('compare_view', 'grid'),
              'buttons' => array('cart_add', 'wishlist_add', 'compare_remove')
          );
  
          $products = $this->getProducts($conditions, $options);
          return $this->reindexProductsCompare($products);
      }
code_tokens: protected function getProductsSelectCompare ( ) { $ conditions = array ( 'product_id' => $ this -> getProductComparison ( ) ) ; $ options = array ( 'view' => $ this -> configTheme ( 'compare_view' , 'grid' ) , 'buttons' => array ( 'cart_add' , 'wishlist_add' , 'compare_remove' ) ) ; $ products = $ this -> getProducts ( $ conditions , $ options ) ; return $ this -> reindexProductsCompare ( $ products ) ; }
docstring: Returns an array of products re-indexed by a class ID
  @return array
docstring_tokens: Returns an array of products re - indexed by a class ID