當前位置: 首頁>>代碼示例>>PHP>>正文


PHP Manufacturer::getHTMLTableHeader方法代碼示例

本文整理匯總了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;
     }
 }
開發者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


注:本文中的Manufacturer::getHTMLTableHeader方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。