当前位置: 首页>>代码示例>>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;未经允许,请勿转载。