From 4477a95a94fad105139927ecb7890dc508ef2f05 Mon Sep 17 00:00:00 2001 From: Antonio Gallo Date: Tue, 2 Nov 2010 21:40:43 +0000 Subject: added bios and webcam entries in the notebook category --- h-source/Application/Include/hardware.php | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (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 291f639..f363d72 100644 --- a/h-source/Application/Include/hardware.php +++ b/h-source/Application/Include/hardware.php @@ -193,6 +193,8 @@ class Notebooks extends Hardware public static $subtypeSelect = 'notebook,netbook,not-specified'; + public static $biosSelect = 'not-specified,no,yes'; + public static $videoSelect = array( "not specified" => 'not-specified', "yes, with 3D acceleration" => "yes_with_3D", @@ -223,6 +225,20 @@ class Notebooks extends Hardware "" => "" ); + public static $webcamSelect = array( + 'not specified' => 'not-specified', + 'it works' => 'yes', + 'it does not work' => 'no', + 'there is no webcam' => 'there-is-no-webcam', + ); + + public static $webcamReverse = array( + "yes" => "it works", + "no" => "it does not work", + 'not-specified' => "not specified how it works", + 'there-is-no-webcam' => 'there is no webcam', + ); + public static function videoList() { return implode(',',array_values(self::$videoSelect)); @@ -233,6 +249,11 @@ class Notebooks extends Hardware return implode(',',array_values(self::$wifiSelect)); } + public static function webcamList() + { + return implode(',',array_values(self::$webcamSelect)); + } + public static function vendorsList() { return implode(',',array_values(self::$vendors)); -- cgit v1.2.3