Merge pull request #3297 from young-steveo/AclComponent-documentation-fix

Updated AclComponent documentation
This commit is contained in:
Mark Story 2014-04-11 16:17:55 -04:00
commit fc1c686c31
3 changed files with 4 additions and 4 deletions

View file

@ -43,7 +43,7 @@ class IniAcl extends Object implements AclInterface {
/** /**
* Initialize method * Initialize method
* *
* @param AclBase $component * @param Component $component
* @return void * @return void
*/ */
public function initialize(Component $component) { public function initialize(Component $component) {

View file

@ -21,8 +21,8 @@ App::uses('AclInterface', 'Controller/Component/Acl');
* Access Control List factory class. * Access Control List factory class.
* *
* Uses a strategy pattern to allow custom ACL implementations to be used with the same component interface. * Uses a strategy pattern to allow custom ACL implementations to be used with the same component interface.
* You can define by changing `Configure::write('Acl.classname', 'DbAcl');` in your core.php. Concrete ACL * You can define by changing `Configure::write('Acl.classname', 'DbAcl');` in your core.php. The adapter
* implementations should extend `AclBase` and implement the methods it defines. * you specify must implement `AclInterface`
* *
* @package Cake.Controller.Component * @package Cake.Controller.Component
* @link http://book.cakephp.org/2.0/en/core-libraries/components/access-control-lists.html * @link http://book.cakephp.org/2.0/en/core-libraries/components/access-control-lists.html

View file

@ -78,7 +78,7 @@ class AclComponentTest extends CakeTestCase {
} }
/** /**
* test that adapter() whines when the class is not an AclBase * test that adapter() whines when the class does not implement AclInterface
* *
* @expectedException CakeException * @expectedException CakeException
* @return void * @return void