From 3b289dfbfd66fe63b1b596d9c451c848d1302840 Mon Sep 17 00:00:00 2001 From: Antonio Gallo Date: Mon, 31 Jan 2011 18:36:25 +0000 Subject: improved search page --- h-source/Application/Include/hardware.php | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (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 3f19ebc..11d12df 100644 --- a/h-source/Application/Include/hardware.php +++ b/h-source/Application/Include/hardware.php @@ -26,11 +26,17 @@ class Hardware public static $controllers = array('notebooks','wifi','videocards','printers','scanners','threegcards','soundcards'); //used by UsersController::login() + public static $deviceClasses = array( + '0403' => 'soundcards', + '0280' => 'wifi', + '0300' => 'videocards', + ); + public static $commYear = 'not-specified,2010,2009,2008,2007,2006,2005,2004,2003,2002,2001,2000,1999,1998,1997,1996,1995,1994,1993,1992'; } -class Printer extends hardware +class Printer extends Hardware { public static $vendors = array( "brother" => "brother", @@ -69,7 +75,7 @@ class Printer extends hardware } -class Wifi extends hardware +class Wifi extends Hardware { public static $vendors = array( "A-LINK" => "A-LINK", @@ -126,7 +132,7 @@ class Wifi extends hardware } } -class Videocard extends hardware +class Videocard extends Hardware { public static $vendors = array( "ATI" => "ATI", -- cgit v1.2.3