original_string: protected function setProductCompare($string)
      {
          $ids = array_filter(array_map('trim', explode(',', $string)), 'ctype_digit');
          $this->data_products = $this->getProductsCompare($ids);
          $this->prepareProductsCompare($this->data_products);
      }
code: protected function setProductCompare($string)
      {
          $ids = array_filter(array_map('trim', explode(',', $string)), 'ctype_digit');
          $this->data_products = $this->getProductsCompare($ids);
          $this->prepareProductsCompare($this->data_products);
      }
code_tokens: protected function setProductCompare ( $ string ) { $ ids = array_filter ( array_map ( 'trim' , explode ( ',' , $ string ) ) , 'ctype_digit' ) ; $ this -> data_products = $ this -> getProductsCompare ( $ ids ) ; $ this -> prepareProductsCompare ( $ this -> data_products ) ; }
docstring: Set an array of product IDs to compare
  @param string $string
docstring_tokens: Set an array of product IDs to compare