當前位置: 首頁>>代碼示例>>PHP>>正文


PHP CommonDevice::getSearchOptions方法代碼示例

本文整理匯總了PHP中CommonDevice::getSearchOptions方法的典型用法代碼示例。如果您正苦於以下問題:PHP CommonDevice::getSearchOptions方法的具體用法?PHP CommonDevice::getSearchOptions怎麽用?PHP CommonDevice::getSearchOptions使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在CommonDevice的用法示例。


在下文中一共展示了CommonDevice::getSearchOptions方法的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: getSearchOptions

 function getSearchOptions()
 {
     $tab = parent::getSearchOptions();
     $tab[12]['table'] = $this->getTable();
     $tab[12]['field'] = 'type';
     $tab[12]['name'] = __('Type');
     $tab[12]['datatype'] = 'string';
     return $tab;
 }
開發者ID:kipman,項目名稱:glpi,代碼行數:9,代碼來源:devicesoundcard.class.php

示例2: getSearchOptions

 function getSearchOptions()
 {
     global $LANG;
     $tab = parent::getSearchOptions();
     $tab[12]['table'] = 'glpi_devicecasetypes';
     $tab[12]['field'] = 'name';
     $tab[12]['name'] = $LANG['device_case'][0];
     return $tab;
 }
開發者ID:ryukansent,項目名稱:Thesis-SideB,代碼行數:9,代碼來源:devicecase.class.php

示例3: getSearchOptions

 function getSearchOptions()
 {
     $tab = parent::getSearchOptions();
     $tab[12]['table'] = 'glpi_devicecasetypes';
     $tab[12]['field'] = 'name';
     $tab[12]['name'] = __('Type');
     $tab[12]['datatype'] = 'dropdown';
     return $tab;
 }
開發者ID:geldarr,項目名稱:hack-space,代碼行數:9,代碼來源:devicecase.class.php

示例4: getSearchOptions

 function getSearchOptions()
 {
     global $LANG;
     $tab = parent::getSearchOptions();
     $tab[11]['table'] = $this->getTable();
     $tab[11]['field'] = 'chipset';
     $tab[11]['name'] = $LANG['device_moboard'][0];
     $tab[11]['datatype'] = 'text';
     return $tab;
 }
開發者ID:ryukansent,項目名稱:Thesis-SideB,代碼行數:10,代碼來源:devicemotherboard.class.php

示例5: getSearchOptions

 function getSearchOptions()
 {
     global $LANG;
     $tab = parent::getSearchOptions();
     $tab[12]['table'] = $this->getTable();
     $tab[12]['field'] = 'type';
     $tab[12]['name'] = $LANG['common'][17];
     $tab[12]['datatype'] = 'text';
     return $tab;
 }
開發者ID:ryukansent,項目名稱:Thesis-SideB,代碼行數:10,代碼來源:devicesoundcard.class.php

示例6: getSearchOptions

 function getSearchOptions()
 {
     global $LANG;
     $tab = parent::getSearchOptions();
     $tab[12]['table'] = $this->getTable();
     $tab[12]['field'] = 'specif_default';
     $tab[12]['name'] = $LANG['devices'][6] . " " . $LANG['devices'][24];
     $tab[12]['datatype'] = 'text';
     $tab[14]['table'] = 'glpi_interfacetypes';
     $tab[14]['field'] = 'name';
     $tab[14]['name'] = $LANG['common'][65];
     return $tab;
 }
開發者ID:ryukansent,項目名稱:Thesis-SideB,代碼行數:13,代碼來源:devicegraphiccard.class.php

示例7: getSearchOptions

 function getSearchOptions()
 {
     $tab = parent::getSearchOptions();
     $tab[11]['table'] = $this->getTable();
     $tab[11]['field'] = 'is_atx';
     $tab[11]['name'] = __('ATX');
     $tab[11]['datatype'] = 'bool';
     $tab[12]['table'] = $this->getTable();
     $tab[12]['field'] = 'power';
     $tab[12]['name'] = __('Power');
     $tab[12]['datatype'] = 'string';
     return $tab;
 }
開發者ID:stweil,項目名稱:glpi,代碼行數:13,代碼來源:devicepowersupply.class.php

示例8: getSearchOptions

 function getSearchOptions()
 {
     $tab = parent::getSearchOptions();
     $tab[12]['table'] = $this->getTable();
     $tab[12]['field'] = 'memory_default';
     $tab[12]['name'] = __('Memory by default');
     $tab[12]['datatype'] = 'string';
     $tab[14]['table'] = 'glpi_interfacetypes';
     $tab[14]['field'] = 'name';
     $tab[14]['name'] = __('Interface');
     $tab[14]['datatype'] = 'dropdown';
     return $tab;
 }
開發者ID:stweil,項目名稱:glpi,代碼行數:13,代碼來源:devicegraphiccard.class.php

示例9: getSearchOptions

 function getSearchOptions()
 {
     global $LANG;
     $tab = parent::getSearchOptions();
     $tab[12]['table'] = $this->getTable();
     $tab[12]['field'] = 'is_raid';
     $tab[12]['name'] = $LANG['device_control'][0];
     $tab[12]['datatype'] = 'bool';
     $tab[14]['table'] = 'glpi_interfacetypes';
     $tab[14]['field'] = 'name';
     $tab[14]['name'] = $LANG['common'][65];
     return $tab;
 }
開發者ID:ryukansent,項目名稱:Thesis-SideB,代碼行數:13,代碼來源:devicecontrol.class.php

示例10: getSearchOptions

 function getSearchOptions()
 {
     global $LANG;
     $tab = parent::getSearchOptions();
     $tab[11]['table'] = $this->getTable();
     $tab[11]['field'] = 'is_atx';
     $tab[11]['name'] = $LANG['device_power'][1];
     $tab[11]['datatype'] = 'bool';
     $tab[12]['table'] = $this->getTable();
     $tab[12]['field'] = 'power';
     $tab[12]['name'] = $LANG['device_power'][0];
     $tab[12]['datatype'] = 'text';
     return $tab;
 }
開發者ID:ryukansent,項目名稱:Thesis-SideB,代碼行數:14,代碼來源:devicepowersupply.class.php

示例11: getSearchOptions

 function getSearchOptions()
 {
     global $LANG;
     $tab = parent::getSearchOptions();
     $tab[11]['table'] = $this->getTable();
     $tab[11]['field'] = 'specif_default';
     $tab[11]['name'] = $LANG['device_iface'][2] . " " . $LANG['devices'][24];
     $tab[11]['datatype'] = 'text';
     $tab[12]['table'] = $this->getTable();
     $tab[12]['field'] = 'bandwidth';
     $tab[12]['name'] = $LANG['device_iface'][0];
     $tab[12]['datatype'] = 'text';
     return $tab;
 }
開發者ID:ryukansent,項目名稱:Thesis-SideB,代碼行數:14,代碼來源:devicenetworkcard.class.php

示例12: getSearchOptions

 function getSearchOptions()
 {
     $tab = parent::getSearchOptions();
     $tab[12]['table'] = $this->getTable();
     $tab[12]['field'] = 'is_writer';
     $tab[12]['name'] = __('Writing ability');
     $tab[12]['datatype'] = 'bool';
     $tab[13]['table'] = $this->getTable();
     $tab[13]['field'] = 'speed';
     $tab[13]['name'] = __('Speed');
     $tab[13]['datatype'] = 'string';
     $tab[14]['table'] = 'glpi_interfacetypes';
     $tab[14]['field'] = 'name';
     $tab[14]['name'] = __('Interface');
     $tab[14]['datatype'] = 'dropdown';
     return $tab;
 }
開發者ID:kipman,項目名稱:glpi,代碼行數:17,代碼來源:devicedrive.class.php

示例13: getSearchOptions

 function getSearchOptions()
 {
     global $LANG;
     $tab = parent::getSearchOptions();
     $tab[11]['table'] = $this->getTable();
     $tab[11]['field'] = 'specif_default';
     $tab[11]['name'] = $LANG['device_ram'][2] . " " . $LANG['devices'][24];
     $tab[11]['datatype'] = 'text';
     $tab[12]['table'] = $this->getTable();
     $tab[12]['field'] = 'frequence';
     $tab[12]['name'] = $LANG['device_ram'][1];
     $tab[12]['datatype'] = 'text';
     $tab[13]['table'] = 'glpi_devicememorytypes';
     $tab[13]['field'] = 'name';
     $tab[13]['name'] = $LANG['common'][17];
     return $tab;
 }
開發者ID:ryukansent,項目名稱:Thesis-SideB,代碼行數:17,代碼來源:devicememory.class.php

示例14: getSearchOptions

 function getSearchOptions()
 {
     $tab = parent::getSearchOptions();
     $tab[11]['table'] = $this->getTable();
     $tab[11]['field'] = 'size_default';
     $tab[11]['name'] = __('Size by default');
     $tab[11]['datatype'] = 'string';
     $tab[12]['table'] = $this->getTable();
     $tab[12]['field'] = 'frequence';
     $tab[12]['name'] = __('Frequency');
     $tab[12]['datatype'] = 'string';
     $tab[13]['table'] = 'glpi_devicememorytypes';
     $tab[13]['field'] = 'name';
     $tab[13]['name'] = __('Type');
     $tab[13]['datatype'] = 'dropdown';
     return $tab;
 }
開發者ID:stweil,項目名稱:glpi,代碼行數:17,代碼來源:devicememory.class.php

示例15: getSearchOptions

 function getSearchOptions()
 {
     global $LANG;
     $tab = parent::getSearchOptions();
     $tab[12]['table'] = $this->getTable();
     $tab[12]['field'] = 'is_writer';
     $tab[12]['name'] = $LANG['device_drive'][0];
     $tab[12]['datatype'] = 'bool';
     $tab[13]['table'] = $this->getTable();
     $tab[13]['field'] = 'speed';
     $tab[13]['name'] = $LANG['device_drive'][1];
     $tab[13]['datatype'] = 'text';
     $tab[14]['table'] = 'glpi_interfacetypes';
     $tab[14]['field'] = 'name';
     $tab[14]['name'] = $LANG['common'][65];
     return $tab;
 }
開發者ID:ryukansent,項目名稱:Thesis-SideB,代碼行數:17,代碼來源:devicedrive.class.php


注:本文中的CommonDevice::getSearchOptions方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。