From bd2f4275434bb99880e6659a1a528bd8eec380f4 Mon Sep 17 00:00:00 2001 From: Antonio Gallo Date: Thu, 23 Dec 2010 23:14:42 +0000 Subject: added sound cards - part 1 --- h-source/Application/Include/hardware.php | 43 ++++++++++++++++++++++++++++++- 1 file changed, 42 insertions(+), 1 deletion(-) (limited to 'h-source/Application/Include/hardware.php') diff --git a/h-source/Application/Include/hardware.php b/h-source/Application/Include/hardware.php index 852cd62..e0919a9 100644 --- a/h-source/Application/Include/hardware.php +++ b/h-source/Application/Include/hardware.php @@ -24,7 +24,7 @@ if (!defined('EG')) die('Direct access not allowed!'); class Hardware { - public static $controllers = array('notebooks','wifi','videocards','printers','scanners','threegcards'); //used by UsersController::login() + public static $controllers = array('notebooks','wifi','videocards','printers','scanners','threegcards','soundcards'); //used by UsersController::login() public static $commYear = 'not-specified,2010,2009,2008,2007,2006,2005,2004,2003,2002,2001,2000,1999,1998,1997,1996,1995,1994,1993,1992'; @@ -286,6 +286,47 @@ class ThreeGcards extends Wifi public static $select = 'yes,no'; + public static function vendorsList() + { + return implode(',',array_values(self::$vendors)); + } +} + +class Soundcards extends Hardware +{ + public static $vendors = array( + "ALi Corporation" => "ALi-Corporation", + "Advanced Micro Devices (AMD)" => "Advanced-Micro-Devices", + "Analog Devices" => "Analog-Devices", + "ATI Technologies Inc" => "ATI-Technologies-Inc", + "Aureal Semiconductor" => "Aureal-Semiconductor", + "Avance Logic Inc (ALI)" => "Avance-Logic-Inc", + "Aztech System Ltd" => "Aztech-System-Ltd", + "Brooktree Corporation" => "Brooktree-Corporation", + "C-Media Electronics Inc" => "C-Media-Electronics-Inc", + "Cirrus Logic" => "Cirrus-Logic", + "Creative Labs" => "Creative-Labs", + "Ensoniq" => "Ensoniq", + "ESS Technology" => "ESS-Technology", + "ForteMedia Inc" => "ForteMedia-Inc", + "Intel Corporation" => "Intel-Corporation", + "Motorola" => "Motorola", + "National Semiconductor Corporation" => "National-Semiconductor-Corporation", + "Neomagic Corp" => "Neomagic-Corp", + "nVidia Corporation" => "nVidia-Corporation", + "RME" => "RME", + "S3 Inc" => "S3-Inc", + "Silicon Integrated Systems (SiS)" => "Silicon-Integrated-Systems", + "Trident Microsystems" => "Trident-Microsystems", + "VIA Technologies Inc" => "VIA-Technologies-Inc", + "Xilinx Corporation" => "Xilinx-Corporation", + "Yamaha Corporation" => "Yamaha-Corporation", + ); + + public static $audioSelect = 'yes,no'; + + public static $interface = "not-specified,PCI,ISA,USB,Firewire,Parallel,PCI-E,PCMCIA"; + public static function vendorsList() { return implode(',',array_values(self::$vendors)); -- cgit v1.2.3