aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Include/hardware.php
diff options
context:
space:
mode:
authorAntonio Gallo <tonicucoz@gmail.com>2011-10-02 17:35:41 +0000
committerAntonio Gallo <tonicucoz@gmail.com>2011-10-02 17:35:41 +0000
commitfef5c074223364eb32032a5787ea824fcbadc4fe (patch)
treefc4a3256743f54de5e1170df93ecdb74fdbfa9cf /h-source/Application/Include/hardware.php
parent029021b689453cd745b6d44450adbe76684effca (diff)
added sd card readers
Diffstat (limited to 'h-source/Application/Include/hardware.php')
-rw-r--r--h-source/Application/Include/hardware.php12
1 files changed, 11 insertions, 1 deletions
diff --git a/h-source/Application/Include/hardware.php b/h-source/Application/Include/hardware.php
index 2e5cb0e..e919326 100644
--- a/h-source/Application/Include/hardware.php
+++ b/h-source/Application/Include/hardware.php
@@ -42,7 +42,7 @@ class Hardware
return $string;
}
- public static $controllers = array('notebooks','wifi','videocards','printers','scanners','threegcards','soundcards','webcams','bluetooth','acquisitioncards','fingerprintreaders','ethernetcards'); //used by UsersController::login()
+ public static $controllers = array('notebooks','wifi','videocards','printers','scanners','threegcards','soundcards','webcams','bluetooth','acquisitioncards','fingerprintreaders','ethernetcards','sdcardreaders'); //used by UsersController::login()
//classId => controller
public static $deviceClasses = array(
@@ -68,6 +68,7 @@ class Hardware
'acquisition-card' => 'Crystal/cam_mount-22.png',
'fingerprint-reader' => 'fingerprint_icon-22.png',
'ethernet-card' => 'H2O/network-wired_22.png',
+ 'sd-card-reader' => 'H2O/media-flash-sd-mmc_22.png',
);
public static $typeToController = array(
@@ -83,6 +84,7 @@ class Hardware
'acquisition-card' => 'acquisitioncards',
'fingerprint-reader' => 'fingerprintreaders',
'ethernet-card' => 'ethernetcards',
+ 'sd-card-reader' => 'sdcardreaders',
);
public static function getTypes()
@@ -411,5 +413,13 @@ class Ethernetcards extends Hardware
public static $select = 'yes,no';
public static $interface = "not-specified,USB,PCI,PCI-E,mini-PCI,mini-PCI-E,ExpressCard,PC-Card,Firewire,Parallel,Serial";
+}
+
+class Sdcardreaders extends Hardware
+{
+
+ public static $select = 'yes,no';
+
+ public static $interface = "not-specified,USB,PCI,PCI-E,mini-PCI,mini-PCI-E,ExpressCard,PC-Card,Firewire,Parallel,Serial";
} \ No newline at end of file