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

Mister Spy

Current Path : /home/caballoscriollos/public_html/web/library/
Upload File :
Current File : /home/caballoscriollos/public_html/web/library/class.stock.php

<?php

abstract class Stock
{ 		
	const Alto		= 1;
	const Medio		= 2;
	const Bajo 		= 3;
	const Consultar = 4;

	static function GetById($IdStock)
	{
		switch($IdStock)
		{			
			case self::Alto:
				return "Alto";

			case self::Medio:
				return "Medio";

			case self::Bajo:
				return "Bajo";

			case self::Consultar:
				return "Consultar";
			
			default:
				break;
		}
	}
	

	static function GetDetalleById($IdStock)
	{
		switch ($IdStock)
		{
			case self::Alto:
				return "Stock: <span class=\"StockAlto\">Alto</span>";

			case self::Medio:
				return "Stock: <span class=\"StockMedio\">Medio</span>";

			case self::Bajo:
				return "Stock: <span class=\"StockBajo\">Bajo</span>";
			
			case self::Consultar:
				return "Stock: <span class=\"StockConsultar\">Consultar</span>";
			
			default:
				break;
		}
	}
	
	
	static function GetAll()
	{
		return array
		(
			array("IdStock" => self::Alto, 		"Descripcion" => "Alto"),
			array("IdStock" => self::Medio, 	"Descripcion" => "Medio"),
			array("IdStock" => self::Bajo, 		"Descripcion" => "Bajo"),
			array("IdStock" => self::Consultar, "Descripcion" => "Consultar")
		);
	}	
}

?>

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