Skip to content
Permalink
Browse files

Updated documentation

* Removed references to nonexistent `AclBase` class
* Added references to `AclInterface` requirements
  • Loading branch information...
young-steveo committed Apr 11, 2014
1 parent 3e57957 commit b55fa98a2d666a03776191f799812fe1c4a76d87
@@ -43,7 +43,7 @@ class IniAcl extends Object implements AclInterface {
/**
* Initialize method
*
* @param AclBase $component
* @param Component $component
* @return void
*/
public function initialize(Component $component) {
@@ -21,8 +21,8 @@
* Access Control List factory class.
*
* 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
* implementations should extend `AclBase` and implement the methods it defines.
* You can define by changing `Configure::write('Acl.classname', 'DbAcl');` in your core.php. The adapter
* you specify must implement `AclInterface`
*
* @package Cake.Controller.Component
* @link http://book.cakephp.org/2.0/en/core-libraries/components/access-control-lists.html
@@ -78,7 +78,7 @@ public function testAdapter() {
}
/**
* test that adapter() whines when the class is not an AclBase
* test that adapter() whines when the class does not implement AclInterface
*
* @expectedException CakeException
* @return void

0 comments on commit b55fa98

Please sign in to comment.
You can’t perform that action at this time.