本文整理汇总了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')));
}
示例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')));
}
示例3: getAdditionalFields
function getAdditionalFields()
{
return array_merge(parent::getAdditionalFields(), array(array('name' => 'type', 'label' => __('Type'), 'type' => 'text')));
}
示例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')));
}
示例5: getAdditionalFields
function getAdditionalFields()
{
global $LANG;
return array_merge(parent::getAdditionalFields(), array(array('name' => 'devicecasetypes_id', 'label' => $LANG['device_case'][0], 'type' => 'dropdownValue')));
}
示例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')));
}
示例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')));
}
示例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')));
}
示例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')));
}
示例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')));
}
示例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')));
}
示例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])));
}
示例13: getAdditionalFields
function getAdditionalFields()
{
global $LANG;
return array_merge(parent::getAdditionalFields(), array(array('name' => 'type', 'label' => $LANG['common'][17], 'type' => 'text')));
}
示例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')));
}
示例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')));
}