getTypeName() 정적인 공개 메소드

static public getTypeName ( $nb )
예제 #1
0
 /**
  * @see CommonGLPI::getTabNameForItem()
  *
  * @param $item               CommonGLPI object
  * @param $withtemplate        (default 0)
  **/
 function getTabNameForItem(CommonGLPI $item, $withtemplate = 0)
 {
     if ($item->isDynamic() && $item->canCreate()) {
         return Lock::getTypeName(2);
     }
     return '';
 }