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


PHP Manufacturer::getHTMLTableCellsForItem方法代码示例

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


在下文中一共展示了Manufacturer::getHTMLTableCellsForItem方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: getHTMLTableCellForItem

 /**
  * @since version 0.84
  *
  * @see CommonDevice::getHTMLTableCellForItem()
  **/
 function getHTMLTableCellForItem(HTMLTableRow $row = NULL, CommonDBTM $item = NULL, HTMLTableCell $father = NULL, array $options = array())
 {
     $column = parent::getHTMLTableCellForItem($row, $item, $father, $options);
     if ($column == $father) {
         return $father;
     }
     switch ($item->getType()) {
         case 'Computer':
             Manufacturer::getHTMLTableCellsForItem($row, $this, NULL, $options);
             break;
     }
 }
开发者ID:geldarr,项目名称:hack-space,代码行数:17,代码来源:devicecase.class.php

示例2: getHTMLTableCellForItem

 /**
  * @since version 0.84
  *
  * @see CommonDevice::getHTMLTableCellForItem()
  **/
 function getHTMLTableCellForItem(HTMLTableRow $row = NULL, CommonDBTM $item = NULL, HTMLTableCell $father = NULL, array $options = array())
 {
     $column = parent::getHTMLTableCellForItem($row, $item, $father, $options);
     if ($column == $father) {
         return $father;
     }
     switch ($item->getType()) {
         case 'Computer':
             Manufacturer::getHTMLTableCellsForItem($row, $this, NULL, $options);
             if ($this->fields["assettag"]) {
                 $row->addCell($row->getHeaderByName('devicebiosdata_tag'), Dropdown::getYesNo($this->fields["assettag"]), $father);
             }
             if ($this->fields["date"]) {
                 $row->addCell($row->getHeaderByName('devicebiosdata_date'), $this->fields["date"], $father);
             }
     }
 }
开发者ID:JULIO8,项目名称:respaldo_glpi,代码行数:22,代码来源:devicebiosdata.class.php

示例3: getHTMLTableCellForItem

 /**
  * @since version 0.84
  *
  * @see CommonDevice::getHTMLTableCellForItem()
  **/
 function getHTMLTableCellForItem(HTMLTableRow $row = NULL, CommonDBTM $item = NULL, HTMLTableCell $father = NULL, array $options = array())
 {
     $column = parent::getHTMLTableCellForItem($row, $item, $father, $options);
     if ($column == $father) {
         return $father;
     }
     switch ($item->getType()) {
         case 'Computer':
             Manufacturer::getHTMLTableCellsForItem($row, $this, NULL, $options);
             if ($this->fields["is_writer"]) {
                 $row->addCell($row->getHeaderByName('devicedrive_writer'), Dropdown::getYesNo($this->fields["is_writer"]), $father);
             }
             if ($this->fields["speed"]) {
                 $row->addCell($row->getHeaderByName('devicedrive_speed'), $this->fields["speed"], $father);
             }
             InterfaceType::getHTMLTableCellsForItem($row, $this, NULL, $options);
     }
 }
开发者ID:kipman,项目名称:glpi,代码行数:23,代码来源:devicedrive.class.php

示例4: getHTMLTableCellForItem

 /**
  * @since version 0.84
  *
  * @see CommonDevice::getHTMLTableCellForItem()
  **/
 function getHTMLTableCellForItem(HTMLTableRow $row = NULL, CommonDBTM $item = NULL, HTMLTableCell $father = NULL, array $options = array())
 {
     $column = parent::getHTMLTableCellForItem($row, $item, $father, $options);
     if ($column == $father) {
         return $father;
     }
     switch ($item->getType()) {
         case 'Computer':
             Manufacturer::getHTMLTableCellsForItem($row, $this, NULL, $options);
             InterfaceType::getHTMLTableCellsForItem($row, $this, NULL, $options);
             if (!empty($this->fields["chipset"])) {
                 $row->addCell($row->getHeaderByName('devicegraphiccard_chipset'), $this->fields["chipset"], $father);
             }
             break;
     }
 }
开发者ID:stweil,项目名称:glpi,代码行数:21,代码来源:devicegraphiccard.class.php

示例5: getHTMLTableCellForItem

 function getHTMLTableCellForItem(HTMLTableRow $row = NULL, CommonDBTM $item = NULL, HTMLTableCell $father = NULL, array $options = array())
 {
     $column = parent::getHTMLTableCellForItem($row, $item, $father, $options);
     if ($column == $father) {
         return $father;
     }
     switch ($item->getType()) {
         case 'Computer':
             Manufacturer::getHTMLTableCellsForItem($row, $this, NULL, $options);
             if ($this->fields["rpm"]) {
                 $row->addCell($row->getHeaderByName('deviceharddriver_rpm'), $this->fields["rpm"]);
             }
             if ($this->fields["cache"]) {
                 $row->addCell($row->getHeaderByName('deviceharddriver_cache'), $this->fields["cache"]);
             }
             InterfaceType::getHTMLTableCellsForItem($row, $this, NULL, $options);
             break;
     }
 }
开发者ID:gaforeror,项目名称:glpi,代码行数:19,代码来源:deviceharddrive.class.php

示例6: getHTMLTableCellForItem

 /**
  * @since version 0.84
  *
  * @see CommonDevice::getHTMLTableCellForItem()
  **/
 function getHTMLTableCellForItem(HTMLTableRow $row = NULL, CommonDBTM $item = NULL, HTMLTableCell $father = NULL, array $options = array())
 {
     $column = parent::getHTMLTableCellForItem($row, $item, $father, $options);
     if ($column == $father) {
         return $father;
     }
     switch ($item->getType()) {
         case 'Computer':
             Manufacturer::getHTMLTableCellsForItem($row, $this, NULL, $options);
             if ($this->fields["type"]) {
                 $row->addCell($row->getHeaderByName('devicesoundcard_type'), $this->fields["type"], $father);
             }
     }
 }
开发者ID:kipman,项目名称:glpi,代码行数:19,代码来源:devicesoundcard.class.php

示例7: getHTMLTableCellForItem

 /**
  * @since version 0.84
  *
  * @see CommonDevice::getHTMLTableCellForItem()
  **/
 function getHTMLTableCellForItem(HTMLTableRow $row = NULL, CommonDBTM $item = NULL, HTMLTableCell $father = NULL, array $options = array())
 {
     $column = parent::getHTMLTableCellForItem($row, $item, $father, $options);
     if ($column == $father) {
         return $father;
     }
     switch ($item->getType()) {
         case 'Computer':
             Manufacturer::getHTMLTableCellsForItem($row, $this, NULL, $options);
             if ($this->fields["devicememorytypes_id"]) {
                 $row->addCell($row->getHeaderByName('devicememory_type'), Dropdown::getDropdownName("glpi_devicememorytypes", $this->fields["devicememorytypes_id"]), $father);
             }
             if (!empty($this->fields["frequence"])) {
                 $row->addCell($row->getHeaderByName('devicememory_frequency'), $this->fields["frequence"], $father);
             }
             break;
     }
 }
开发者ID:stweil,项目名称:glpi,代码行数:23,代码来源:devicememory.class.php


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