CakePHP
  • Documentation
    • Book
    • API
    • Videos
    • Reporting Security Issues
    • Privacy Policy
    • Logos & Trademarks
  • Business Solutions
  • Swag
  • Road Trip
  • Team
  • Community
    • Community
    • Get Involved
    • Issues (GitHub)
    • Bakery
    • Featured Resources
    • Training
    • Meetups
    • My CakePHP
    • CakeFest
    • Newsletter
    • Linkedin
    • YouTube
    • Facebook
    • Twitter
    • Mastodon
    • Help & Support
    • Forum
    • Stack Overflow
    • Slack
    • Paid Support
CakePHP

C CakePHP 2.2 API

  • Overview
  • Tree
  • Deprecated
  • Version:
    • 2.2
      • 4.2
      • 4.1
      • 4.0
      • 3.9
      • 3.8
      • 3.7
      • 3.6
      • 3.5
      • 3.4
      • 3.3
      • 3.2
      • 3.1
      • 3.0
      • 2.10
      • 2.9
      • 2.8
      • 2.7
      • 2.6
      • 2.5
      • 2.4
      • 2.3
      • 2.2
      • 2.1
      • 2.0
      • 1.3
      • 1.2

Packages

  • Cake
    • Cache
      • Engine
    • Configure
    • Console
      • Command
        • Task
    • Controller
      • Component
        • Acl
        • Auth
    • Core
    • Error
    • Event
    • I18n
    • Log
      • Engine
    • Model
      • Behavior
      • Datasource
        • Database
        • Session
      • Validator
    • Network
      • Email
      • Http
    • Routing
      • Filter
      • Route
    • TestSuite
      • Coverage
      • Fixture
      • Reporter
    • Utility
    • View
      • Helper

Classes

  • DbAcl
  • IniAcl
  • PhpAcl
  • PhpAco
  • PhpAro

Interfaces

  • AclInterface
 1: <?php
 2: /**
 3:  * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
 4:  * Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
 5:  *
 6:  * Licensed under The MIT License
 7:  * Redistributions of files must retain the above copyright notice.
 8:  *
 9:  * @copyright     Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
10:  * @link          http://cakephp.org CakePHP(tm) Project
11:  * @package       Cake.Controller.Component.Acl
12:  * @since         CakePHP(tm) v 0.10.0.1076
13:  * @license       MIT License (http://www.opensource.org/licenses/mit-license.php)
14:  */
15: 
16: /**
17:  * Access Control List interface.
18:  * Implementing classes are used by AclComponent to perform ACL checks in Cake.
19:  *
20:  * @package       Cake.Controller.Component.Acl
21:  */
22: interface AclInterface {
23: 
24: /**
25:  * Empty method to be overridden in subclasses
26:  *
27:  * @param string $aro ARO The requesting object identifier.
28:  * @param string $aco ACO The controlled object identifier.
29:  * @param string $action Action (defaults to *)
30:  */
31:     public function check($aro, $aco, $action = "*");
32: 
33: /**
34:  * Allow methods are used to grant an ARO access to an ACO.
35:  *
36:  * @param string $aro ARO The requesting object identifier.
37:  * @param string $aco ACO The controlled object identifier.
38:  * @param string $action Action (defaults to *)
39:  * @return boolean Success
40:  */
41:     public function allow($aro, $aco, $action = "*");
42: 
43: /**
44:  * Deny methods are used to remove permission from an ARO to access an ACO.
45:  *
46:  * @param string $aro ARO The requesting object identifier.
47:  * @param string $aco ACO The controlled object identifier.
48:  * @param string $action Action (defaults to *)
49:  * @return boolean Success
50:  */
51:     public function deny($aro, $aco, $action = "*");
52: 
53: /**
54:  * Inherit methods modify the permission for an ARO to be that of its parent object.
55:  *
56:  * @param string $aro ARO The requesting object identifier.
57:  * @param string $aco ACO The controlled object identifier.
58:  * @param string $action Action (defaults to *)
59:  * @return boolean Success
60:  */
61:     public function inherit($aro, $aco, $action = "*");
62: 
63: /**
64:  * Initialization method for the Acl implementation
65:  *
66:  * @param AclComponent $component
67:  */
68:     public function initialize(Component $component);
69: 
70: }
71: 
OpenHub
Rackspace
Rackspace
  • Business Solutions
  • Showcase
  • Documentation
  • Book
  • API
  • Videos
  • Reporting Security Issues
  • Privacy Policy
  • Logos & Trademarks
  • Community
  • Get Involved
  • Issues (GitHub)
  • Bakery
  • Featured Resources
  • Training
  • Meetups
  • My CakePHP
  • CakeFest
  • Newsletter
  • Linkedin
  • YouTube
  • Facebook
  • Twitter
  • Mastodon
  • Help & Support
  • Forum
  • Stack Overflow
  • Slack
  • Paid Support

Generated using CakePHP API Docs