getTypeName() static public method

static public getTypeName ( $nb )
コード例 #1
0
ファイル: lock.class.php プロジェクト: geldarr/hack-space
 /**
  * @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 '';
 }