Exemplo n.º 1
0
 /**
  * caching the results will cause the script to use more memory but less
  * cpu (should also perform quicker) results should always be the same
  * regardless of cache
  *
  * @param boolean $cache Do we want to cache results
  */
 public function __construct($cache = false)
 {
     parent::__construct();
     $this->position = 0;
     $this->results = array();
     $this->cache = $cache;
 }