本文整理汇总了PHP中CommonGLPI::showChildren方法的典型用法代码示例。如果您正苦于以下问题:PHP CommonGLPI::showChildren方法的具体用法?PHP CommonGLPI::showChildren怎么用?PHP CommonGLPI::showChildren使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CommonGLPI
的用法示例。
在下文中一共展示了CommonGLPI::showChildren方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: displayTabContentForItem
static function displayTabContentForItem(CommonGLPI $item, $tabnum = 1, $withtemplate = 0)
{
if ($item instanceof CommonTreeDropdown) {
$item->showChildren();
}
return true;
}
示例2: displayTabContentForItem
static function displayTabContentForItem(CommonGLPI $item, $tabnum = 1, $withtemplate = 0)
{
switch ($item->getType()) {
case 'Group':
switch ($tabnum) {
case 1:
$item->showItems(false);
return true;
case 2:
$item->showItems(true);
return true;
case 3:
$item->showLDAPForm($item->getID());
return true;
case 4:
$item->showChildren();
return true;
}
break;
}
return false;
}
示例3: displayTabContentForItem
/**
* @since version 0.84 (before in entitydata.class)
**/
static function displayTabContentForItem(CommonGLPI $item, $tabnum = 1, $withtemplate = 0)
{
if ($item->getType() == __CLASS__) {
switch ($tabnum) {
case 1:
$item->showChildren();
break;
case 2:
self::showStandardOptions($item);
break;
case 3:
self::showAdvancedOptions($item);
break;
case 4:
self::showNotificationOptions($item);
break;
case 5:
self::showHelpdeskOptions($item);
break;
case 6:
self::showInventoryOptions($item);
break;
}
}
return true;
}
示例4: displayTabContentForItem
static function displayTabContentForItem(CommonGLPI $item, $tabnum = 1, $withtemplate = 0)
{
switch ($item->getType()) {
case __CLASS__:
switch ($tabnum) {
case 1:
$item->showChildren();
break;
case 2:
$item->showGantt($item->getID());
break;
}
break;
}
return true;
}
示例5: displayTabContentForItem
/**
* @since version 0.85
**/
static function displayTabContentForItem(CommonGLPI $item, $tabnum = 1, $withtemplate = 0)
{
if ($item->getType() == __CLASS__) {
switch ($tabnum) {
case 1:
$item->showChildren();
break;
case 2:
$item->showItems();
break;
}
}
return true;
}