/** * Sets the Image_GIS_Parser sub-class to be used * to parse a data file. * * @param string $parser * @param boolean $cache * @access public */ function setParser($parser, $cache) { $this->parser =& Image_GIS_Parser::factory($parser, $cache, $this->debug); }