. if (!defined('EG')) die('Direct access not allowed!'); class VideocardsModel extends BaseModel { public $type = 'videocard'; //device type public $diffFields = array( 'vendor' => 'vendor', 'model' => 'model name', 'pci_id' => 'VendorID:ProductID', 'comm_year' => 'year of commercialization', 'interface' => 'interface', 'distribution' => 'distribution used', 'kernel' => 'kernel libre version', 'video_card_works' => 'how does it work with free software?', 'description' => 'model description', ); public $fieldsWithBreaks = array('model description'); public function __construct() { $this->_popupItemNames = array( 'vendor' => 'vendor', 'comm_year' => 'comm_year', 'interface' => 'interface', ); $this->_popupLabels = array( 'vendor' => 'vendor', 'comm_year' => 'year', 'interface' => 'interface', ); $this->_popupWhere = array( 'vendor' => 'type="videocard" and deleted="no"', 'comm_year' => 'type="videocard" and deleted="no"', 'interface' => 'type="videocard" and deleted="no"', ); parent::__construct(); } }