예제 #1
0
 /**
  * @param APPLICATION $context Main application.
  */
 public function __construct($context)
 {
     parent::__construct($context);
     $this->global_privileges = new GLOBAL_PRIVILEGES();
     $this->allow_privileges = $context->make_privileges();
     $this->deny_privileges = $context->make_privileges();
 }
 /**
  * @param FOLDER $folder Attached to this folder.
  */
 public function __construct($folder)
 {
     parent::__construct($folder->app);
     $this->attach_to($folder);
 }