本文整理汇总了PHP中Manufacturer::getHTMLTableHeader方法的典型用法代码示例。如果您正苦于以下问题:PHP Manufacturer::getHTMLTableHeader方法的具体用法?PHP Manufacturer::getHTMLTableHeader怎么用?PHP Manufacturer::getHTMLTableHeader使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Manufacturer
的用法示例。
在下文中一共展示了Manufacturer::getHTMLTableHeader方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: getHTMLTableHeader
/**
* @since version 0.84
*
* @see CommonDevice::getHTMLTableHeader()
**/
static function getHTMLTableHeader($itemtype, HTMLTableBase $base, HTMLTableSuperHeader $super = NULL, HTMLTableHeader $father = NULL, array $options = array())
{
$column = parent::getHTMLTableHeader($itemtype, $base, $super, $father, $options);
if ($column == $father) {
return $father;
}
switch ($itemtype) {
case 'Computer':
Manufacturer::getHTMLTableHeader(__CLASS__, $base, $super, $father, $options);
break;
}
}
示例2: getHTMLTableHeader
/**
* @since version 0.84
*
* @see CommonDevice::getHTMLTableHeader()
**/
static function getHTMLTableHeader($itemtype, HTMLTableBase $base, HTMLTableSuperHeader $super = NULL, HTMLTableHeader $father = NULL, array $options = array())
{
$column = parent::getHTMLTableHeader($itemtype, $base, $super, $father, $options);
if ($column == $father) {
return $father;
}
switch ($itemtype) {
case 'Computer':
Manufacturer::getHTMLTableHeader(__CLASS__, $base, $super, $father, $options);
$base->addHeader('devicebiosdata_tag', __('Asset Tag', 'ocsinventoryng'), $super, $father);
$base->addHeader('devicebiosdata_date', __('Date'), $super, $father);
break;
}
}
示例3: getHTMLTableHeader
/**
* @since version 0.84
*
* @see CommonDevice::getHTMLTableHeader()
**/
static function getHTMLTableHeader($itemtype, HTMLTableBase $base, HTMLTableSuperHeader $super = NULL, HTMLTableHeader $father = NULL, array $options = array())
{
$column = parent::getHTMLTableHeader($itemtype, $base, $super, $father, $options);
if ($column == $father) {
return $father;
}
switch ($itemtype) {
case 'Computer':
Manufacturer::getHTMLTableHeader(__CLASS__, $base, $super, $father, $options);
$base->addHeader('devicememory_type', __('Type'), $super, $father);
$base->addHeader('devicememory_frequency', __('Frequency'), $super, $father);
break;
}
}
示例4: getHTMLTableHeader
/**
* @since version 0.84
*
* @see CommonDevice::getHTMLTableHeader()
**/
static function getHTMLTableHeader($itemtype, HTMLTableBase $base, HTMLTableSuperHeader $super = NULL, HTMLTableHeader $father = NULL, array $options = array())
{
$column = parent::getHTMLTableHeader($itemtype, $base, $super, $father, $options);
if ($column == $father) {
return $father;
}
switch ($itemtype) {
case 'Computer':
Manufacturer::getHTMLTableHeader(__CLASS__, $base, $super, $father, $options);
$base->addHeader('devicedrive_writer', __('Writing ability'), $super, $father);
$base->addHeader('devicedrive_speed', __('Speed'), $super, $father);
InterfaceType::getHTMLTableHeader(__CLASS__, $base, $super, $father, $options);
break;
}
}
示例5: getHTMLTableHeader
/**
* @since version 0.84
*
* @see CommonDevice::getHTMLTableHeader()
**/
static function getHTMLTableHeader($itemtype, HTMLTableBase $base, HTMLTableSuperHeader $super = NULL, HTMLTableHeader $father = NULL, array $options = array())
{
$column_name = __CLASS__;
if (isset($options['dont_display'][$column_name])) {
return;
}
if (in_array($itemtype, NetworkPort::getNetworkPortInstantiations())) {
$base->addHeader($column_name, __('Interface'), $super, $father);
} else {
$column = parent::getHTMLTableHeader($itemtype, $base, $super, $father, $options);
if ($column == $father) {
return $father;
}
Manufacturer::getHTMLTableHeader(__CLASS__, $base, $super, $father, $options);
$base->addHeader('devicenetworkcard_bandwidth', __('Flow'), $super, $father);
}
}