aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Include/hardware.php
diff options
context:
space:
mode:
authorAntonio Gallo <tonicucoz@gmail.com>2010-11-02 21:40:43 +0000
committerAntonio Gallo <tonicucoz@gmail.com>2010-11-02 21:40:43 +0000
commit4477a95a94fad105139927ecb7890dc508ef2f05 (patch)
tree7b5e3afb592eaef8eb7533f7c3b6920a76272fa0 /h-source/Application/Include/hardware.php
parent4daafefd0c29440c6fbad2239be2803ad04b92cd (diff)
added bios and webcam entries in the notebook category
Diffstat (limited to 'h-source/Application/Include/hardware.php')
-rw-r--r--h-source/Application/Include/hardware.php21
1 files changed, 21 insertions, 0 deletions
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));