Tuesday, August 28, 2012

node in Acl behavoir

Using Cakephp 2.1.2
I am trying to make a method to generate the Aco's (check if there is a new controller or methods and add it in aocs table)
I have a problem with using the node method , get this error

Database Error

SQL Query: node


my method code in usersController.php

public function admin_generate() {
        $this->loadModel("Aco")

       $root = $this->Aco->node('controllers');

}

 

--
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
 
 

No comments: