Re: Unable to inherit from aclnode

2008-05-28 Thread azlanms
Can I use TreeBehavior with CakePHP Ver. 1.1.19.x? Is it also possible to sort the node data in alphabetical order while displaying the tree? Thanks for the advice. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: Unable to inherit from aclnode

2008-05-28 Thread AD7six
On May 28, 10:50 am, azlanms [EMAIL PROTECTED] wrote: Can I use TreeBehavior with CakePHP Ver. 1.1.19.x? No Is it also possible to sort the node data in alphabetical order while displaying the tree? No - unless you use findAllThreaded. but you can sort it on the db:

Unable to inherit from aclnode

2008-05-27 Thread azlanms
I'm trying to create a model called 'Tree' based on the AclNode class as: class Tree extends AclNode { var $name = 'Tree'; var $validate = array( 'title' = VALID_NOT_EMPTY ); but I got this error message: Fatal error: Class tree: Cannot inherit from undefined class aclnode in

Re: Unable to inherit from aclnode

2008-05-27 Thread John David Anderson
On May 27, 2008, at 8:50 PM, azlanms wrote: I'm trying to create a model called 'Tree' based on the AclNode class as: class Tree extends AclNode { var $name = 'Tree'; var $validate = array( 'title' = VALID_NOT_EMPTY ); but I got this error message: Fatal error: Class tree: