当前位置: 首页>>代码示例>>PHP>>正文


PHP CommonDevice::getHTMLTableHeader方法代码示例

本文整理汇总了PHP中CommonDevice::getHTMLTableHeader方法的典型用法代码示例。如果您正苦于以下问题:PHP CommonDevice::getHTMLTableHeader方法的具体用法?PHP CommonDevice::getHTMLTableHeader怎么用?PHP CommonDevice::getHTMLTableHeader使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在CommonDevice的用法示例。


在下文中一共展示了CommonDevice::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;
     }
 }
开发者ID:stweil,项目名称:glpi,代码行数:17,代码来源:devicepowersupply.class.php

示例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;
     }
 }
开发者ID:JULIO8,项目名称:respaldo_glpi,代码行数:19,代码来源:devicebiosdata.class.php

示例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;
     }
 }
开发者ID:gaforeror,项目名称:glpi,代码行数:19,代码来源:devicememory.class.php

示例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;
     }
 }
开发者ID:kipman,项目名称:glpi,代码行数:20,代码来源:devicedrive.class.php

示例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);
     }
 }
开发者ID:geldarr,项目名称:hack-space,代码行数:22,代码来源:devicenetworkcard.class.php


注:本文中的CommonDevice::getHTMLTableHeader方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。