/** * Adds a datafile to the map. * * @param string $dataFile * @param mixed $color * @return boolean * @access public */ function addDataFile($dataFile, $color) { if (file_exists($dataFile)) { return $this->parser->addDataFile($dataFile, $color); } else { printf("Data file '%s' does not exist.\n", $dataFile); return false; } }
/** * Adds a datafile to the map. * * @param string $dataFile * @param mixed $color * @return boolean * @access public */ function addDataFile($dataFile, $color) { return $this->parser->addDataFile($dataFile, $color); }