本文整理汇总了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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}