示例#1
0
文件: acl.php 项目: kaz0636/openflp
 /**
  * Constructor
  *
  */
 function __construct()
 {
     parent::__construct();
     uses('model' . DS . 'db_acl');
     $this->Aro =& ClassRegistry::init(array('class' => 'Aro', 'alias' => 'Aro'));
     $this->Aco =& ClassRegistry::init(array('class' => 'Aco', 'alias' => 'Aco'));
 }
示例#2
0
 /**
  * Constructor
  *
  */
 function __construct()
 {
     parent::__construct();
     if (!class_exists('AclNode')) {
         require LIBS . 'model' . DS . 'db_acl.php';
     }
     $this->Aro =& ClassRegistry::init(array('class' => 'Aro', 'alias' => 'Aro'));
     $this->Aco =& ClassRegistry::init(array('class' => 'Aco', 'alias' => 'Aco'));
 }
示例#3
0
 /**
  * Constructor
  *
  */
 function __construct()
 {
     parent::__construct();
     uses('model' . DS . 'db_acl');
     $this->Aro =& new Aro();
     $this->Aco =& new Aco();
 }