예제 #1
0
 public static function registerPackage(TControl $control, $name)
 {
     static $instance;
     if ($instance === null) {
         $instance = new self($control->getPage());
     }
     $instance->_packages[$name] = true;
 }