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


PHP CommonDevice::getAdditionalFields方法代碼示例

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


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

示例1: getAdditionalFields

 function getAdditionalFields()
 {
     return array_merge(parent::getAdditionalFields(), array(array('name' => 'size_default', 'label' => __('Size by default'), 'type' => 'text', 'unit' => __('Mio')), array('name' => 'frequence', 'label' => __('Frequency'), 'type' => 'text', 'unit' => __('MHz')), array('name' => 'devicememorytypes_id', 'label' => __('Type'), 'type' => 'dropdownValue')));
 }
開發者ID:stweil,項目名稱:glpi,代碼行數:4,代碼來源:devicememory.class.php

示例2: getAdditionalFields

 function getAdditionalFields()
 {
     global $LANG;
     return array_merge(parent::getAdditionalFields(), array(array('name' => 'specif_default', 'label' => $LANG['devices'][6] . " " . $LANG['devices'][24], 'type' => 'text', 'unit' => $LANG['common'][82]), array('name' => 'interfacetypes_id', 'label' => $LANG['common'][65], 'type' => 'dropdownValue')));
 }
開發者ID:ryukansent,項目名稱:Thesis-SideB,代碼行數:5,代碼來源:devicegraphiccard.class.php

示例3: getAdditionalFields

 function getAdditionalFields()
 {
     return array_merge(parent::getAdditionalFields(), array(array('name' => 'type', 'label' => __('Type'), 'type' => 'text')));
 }
開發者ID:geldarr,項目名稱:hack-space,代碼行數:4,代碼來源:devicesoundcard.class.php

示例4: getAdditionalFields

 /**
  * @see CommonDevice::getAdditionalFields()
  * @since version 0.85
  */
 function getAdditionalFields()
 {
     return array_merge(parent::getAdditionalFields(), array(array('name' => 'none', 'label' => RegisteredID::getTypeName(Session::getPluralNumber()) . RegisteredID::showAddChildButtonForItemForm($this, '_registeredID', NULL, false), 'type' => 'registeredIDChooser')));
 }
開發者ID:paisdelconocimiento,項目名稱:glpi-smartcities,代碼行數:8,代碼來源:devicepci.class.php

示例5: getAdditionalFields

 function getAdditionalFields()
 {
     global $LANG;
     return array_merge(parent::getAdditionalFields(), array(array('name' => 'devicecasetypes_id', 'label' => $LANG['device_case'][0], 'type' => 'dropdownValue')));
 }
開發者ID:ryukansent,項目名稱:Thesis-SideB,代碼行數:5,代碼來源:devicecase.class.php

示例6: getAdditionalFields

 function getAdditionalFields()
 {
     return array_merge(parent::getAdditionalFields(), array(array('name' => 'capacity_default', 'label' => __('Capacity by default'), 'type' => 'text', 'unit' => __('Mio')), array('name' => 'rpm', 'label' => __('Rpm'), 'type' => 'text'), array('name' => 'cache', 'label' => __('Cache'), 'type' => 'text', 'unit' => __('Mio')), array('name' => 'interfacetypes_id', 'label' => __('Interface'), 'type' => 'dropdownValue')));
 }
開發者ID:gaforeror,項目名稱:glpi,代碼行數:4,代碼來源:deviceharddrive.class.php

示例7: getAdditionalFields

 function getAdditionalFields()
 {
     return array_merge(parent::getAdditionalFields(), array(array('name' => 'is_writer', 'label' => __('Writing ability'), 'type' => 'bool'), array('name' => 'speed', 'label' => __('Speed'), 'type' => 'text'), array('name' => 'interfacetypes_id', 'label' => __('Interface'), 'type' => 'dropdownValue')));
 }
開發者ID:kipman,項目名稱:glpi,代碼行數:4,代碼來源:devicedrive.class.php

示例8: getAdditionalFields

 function getAdditionalFields()
 {
     return array_merge(parent::getAdditionalFields(), array(array('name' => 'assettag', 'label' => __('Asset Tag', 'ocsinventoryng'), 'type' => 'text'), array('name' => 'date', 'label' => __('Date'), 'type' => 'text')));
 }
開發者ID:JULIO8,項目名稱:respaldo_glpi,代碼行數:4,代碼來源:devicebiosdata.class.php

示例9: getAdditionalFields

 function getAdditionalFields()
 {
     global $LANG;
     return array_merge(parent::getAdditionalFields(), array(array('name' => 'specif_default', 'label' => $LANG['device_iface'][2] . " " . $LANG['devices'][24], 'type' => 'text'), array('name' => 'bandwidth', 'label' => $LANG['device_iface'][0], 'type' => 'text')));
 }
開發者ID:ryukansent,項目名稱:Thesis-SideB,代碼行數:5,代碼來源:devicenetworkcard.class.php

示例10: getAdditionalFields

 function getAdditionalFields()
 {
     global $LANG;
     return array_merge(parent::getAdditionalFields(), array(array('name' => 'specif_default', 'label' => $LANG['device_ram'][2] . " " . $LANG['devices'][24], 'type' => 'text', 'unit' => $LANG['common'][82]), array('name' => 'frequence', 'label' => $LANG['device_ram'][1], 'type' => 'text', 'unit' => $LANG['setup'][35]), array('name' => 'devicememorytypes_id', 'label' => $LANG['common'][17], 'type' => 'dropdownValue')));
 }
開發者ID:ryukansent,項目名稱:Thesis-SideB,代碼行數:5,代碼來源:devicememory.class.php

示例11: getAdditionalFields

 function getAdditionalFields()
 {
     global $LANG;
     return array_merge(parent::getAdditionalFields(), array(array('name' => 'is_writer', 'label' => $LANG['device_drive'][0], 'type' => 'bool'), array('name' => 'speed', 'label' => $LANG['device_drive'][1], 'type' => 'text'), array('name' => 'interfacetypes_id', 'label' => $LANG['common'][65], 'type' => 'dropdownValue')));
 }
開發者ID:ryukansent,項目名稱:Thesis-SideB,代碼行數:5,代碼來源:devicedrive.class.php

示例12: getAdditionalFields

 function getAdditionalFields()
 {
     global $LANG;
     return array_merge(parent::getAdditionalFields(), array(array('name' => 'specif_default', 'label' => $LANG['device_ram'][1] . " " . $LANG['devices'][24], 'type' => 'text', 'unit' => $LANG['setup'][35]), array('name' => 'frequence', 'label' => $LANG['device_ram'][1], 'type' => 'text', 'unit' => $LANG['setup'][35])));
 }
開發者ID:ryukansent,項目名稱:Thesis-SideB,代碼行數:5,代碼來源:deviceprocessor.class.php

示例13: getAdditionalFields

 function getAdditionalFields()
 {
     global $LANG;
     return array_merge(parent::getAdditionalFields(), array(array('name' => 'type', 'label' => $LANG['common'][17], 'type' => 'text')));
 }
開發者ID:ryukansent,項目名稱:Thesis-SideB,代碼行數:5,代碼來源:devicesoundcard.class.php

示例14: getAdditionalFields

 function getAdditionalFields()
 {
     return array_merge(parent::getAdditionalFields(), array(array('name' => 'mac_default', 'label' => __('MAC address by default'), 'type' => 'text'), array('name' => 'bandwidth', 'label' => __('Flow'), 'type' => 'text')));
 }
開發者ID:geldarr,項目名稱:hack-space,代碼行數:4,代碼來源:devicenetworkcard.class.php

示例15: getAdditionalFields

 function getAdditionalFields()
 {
     return array_merge(parent::getAdditionalFields(), array(array('name' => 'is_raid', 'label' => __('RAID'), 'type' => 'bool'), array('name' => 'interfacetypes_id', 'label' => __('Interface'), 'type' => 'dropdownValue'), array('name' => 'none', 'label' => RegisteredID::getTypeName(Session::getPluralNumber()) . RegisteredID::showAddChildButtonForItemForm($this, '_registeredID', NULL, false), 'type' => 'registeredIDChooser')));
 }
開發者ID:stweil,項目名稱:glpi,代碼行數:4,代碼來源:devicecontrol.class.php


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