Example #1
0
 /**
  * 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'));
 }
Example #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'));
 }
Example #3
0
 /**
  * Constructor
  *
  */
 function __construct()
 {
     parent::__construct();
     uses('model' . DS . 'db_acl');
     $this->Aro =& new Aro();
     $this->Aco =& new Aco();
 }