示例#1
0
 /**
  * Register this panel
  *
  * @param array	items for add to pannel
  */
 public static function register(array $items = NULL)
 {
     if (self::$registered) {
         throw new \InvalidStateException("Callback panel is already registered");
     }
     NDebugger::addPanel(new static($items));
     self::$registered = TRUE;
 }