Difference between array('Acl' => array('type' => 'requester')) and array('Acl' => 'requester') in C

Posted by Jonnie on Stack Overflow See other posts from Stack Overflow or by Jonnie
Published on 2010-05-24T18:59:06Z Indexed on 2010/05/24 19:01 UTC
Read the original article Hit count: 599

Filed under:
|
|
|

I'm following the ACL tutorial for CakePHP 1.3 and I was wondering if there is a functional difference between declaring a behavior like this:

var $actsAs = array('Acl' => 'requester');

and like this:

var $actsAs = array('Acl' => array('type' => 'requester'));

© Stack Overflow or respective owner

Related posts about cakephp

Related posts about model