cake php AppController and inheritance
Posted
by RSK
on Stack Overflow
See other posts from Stack Overflow
or by RSK
Published on 2010-04-14T05:24:57Z
Indexed on
2010/04/14
5:33 UTC
Read the original article
Hit count: 304
hello folks........
In many tutorial of Acl component in cakephp i got instruction that add component either in AppController or in all the other controllers which inherits AppController.......
but problem is
var $components=array('Auth',Acl);
when i use the above line in AppConroller i cant use the Auth or Acl component... but when i use the same code in all the child classes it works fine........
what will be the problem
thanks in advance
any help will be appreciated.
© Stack Overflow or respective owner