示例#1
0
 public function getOptions($_key = '', $_default = '')
 {
     return utils::getJsonAttr($this->options, $_key, $_default);
 }
示例#2
0
 public function getRights($_key = '', $_default = '')
 {
     return utils::getJsonAttr($this->rights, $_key, $_default);
 }
示例#3
0
 public function getFiltres($_key = '', $_default = '')
 {
     return utils::getJsonAttr($this->filtres, $_key, $_default);
 }
示例#4
0
文件: cmd.class.php 项目: jimibi/core
 public function getDisplay($_key = '', $_default = '')
 {
     return utils::getJsonAttr($this->display, $_key, $_default);
 }
示例#5
0
 public function getConfiguration($_key = '', $_default = '')
 {
     return utils::getJsonAttr($this->configuration, $_key, $_default);
 }
示例#6
0
 public function getHardwareCompatibility($_key = '', $_default = '')
 {
     return utils::getJsonAttr($this->hardwareCompatibility, $_key, $_default);
 }
示例#7
0
 public function getCategory($_key = '', $_default = '')
 {
     if ($_key == 'other' && strpos($this->category, "1") === false) {
         return 1;
     }
     return utils::getJsonAttr($this->category, $_key, $_default);
 }