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