コード例 #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
ファイル: acl.php プロジェクト: Tamsmiranda/cakephp1x
 /**
  * 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
ファイル: acl.php プロジェクト: rhencke/mozilla-cvs-history
 /**
  * Constructor
  *
  */
 function __construct()
 {
     parent::__construct();
     uses('model' . DS . 'db_acl');
     $this->Aro =& new Aro();
     $this->Aco =& new Aco();
 }