private function _fillTemplate($template, $values) {
		foreach ($values as $key => $value) {
			$template = str_replace($key, $value, $template);
		}

		return $template;
	}
private function _fillTemplate($template, $values) {
		foreach ($values as $key => $value) {
			$template = str_replace($key, $value, $template);
		}

		return $template;
	}
private function _fillTemplate ( $ template , $ values ) { foreach ( $ values as $ key => $ value ) { $ template = str_replace ( $ key , $ value , $ template ) ; } return $ template ; }
Replace some values in a template file.

@param $template The
content of the template
@param $values The
array of values to replace
Replace some values in a template file .