From 07f5140771388c9e0c8a99b0dd2e5d950bdb173b Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Thu, 14 Oct 2021 15:16:42 +1100 Subject: moving h-source subdir out. --- .../admin/Application/Models/ScannersModel.php | 70 ---------------------- 1 file changed, 70 deletions(-) delete mode 100644 h-source/admin/Application/Models/ScannersModel.php (limited to 'h-source/admin/Application/Models/ScannersModel.php') diff --git a/h-source/admin/Application/Models/ScannersModel.php b/h-source/admin/Application/Models/ScannersModel.php deleted file mode 100644 index 978a26b..0000000 --- a/h-source/admin/Application/Models/ScannersModel.php +++ /dev/null @@ -1,70 +0,0 @@ -. - -if (!defined('EG')) die('Direct access not allowed!'); - -class ScannersModel extends BaseModel -{ - - public $type = 'scanner'; //device type - - public $diffFields = array( - 'vendor' => 'vendor', - 'model' => 'model name', - 'pci_id' => 'VendorID:ProductID', - 'comm_year' => 'year of commercialization', - 'interface' => 'interface', - 'distribution' => 'distribution used', - 'compatibility' => 'compatibility', - 'kernel' => 'kernel libre version', - 'driver' => 'driver used', - 'description' => 'model description', - ); - - public $fieldsWithBreaks = array('model description'); - - public function __construct() - { - - $this->_popupItemNames = array( - 'vendor' => 'vendor', - 'compatibility' => 'compatibility', - 'comm_year' => 'comm_year', - 'interface' => 'interface', - ); - - $this->_popupLabels = array( - 'vendor' => 'vendor', - 'compatibility' => 'compatibility', - 'comm_year' => 'year', - 'interface' => 'interface', - ); - - $this->_popupWhere = array( - 'vendor' => 'type="scanner" and deleted="no"', - 'compatibility' => 'type="scanner" and deleted="no"', - 'comm_year' => 'type="scanner" and deleted="no"', - 'interface' => 'type="scanner" and deleted="no"', - ); - - parent::__construct(); - } - -} \ No newline at end of file -- cgit v1.2.3