From 223604fb0dacc3decb88cc28244712ed0acab7a0 Mon Sep 17 00:00:00 2001 From: Ceeram Date: Thu, 5 Apr 2012 13:51:00 +0200 Subject: [PATCH] update docblock of AclComponent --- .../Controller/Component/AclComponent.php | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/lib/Cake/Controller/Component/AclComponent.php b/lib/Cake/Controller/Component/AclComponent.php index 659a503cb..f56311c90 100644 --- a/lib/Cake/Controller/Component/AclComponent.php +++ b/lib/Cake/Controller/Component/AclComponent.php @@ -102,8 +102,8 @@ class AclComponent extends Component { * Pass-thru function for ACL check instance. Check methods * are used to check whether or not an ARO can access an ACO * - * @param string $aro ARO The requesting object identifier. - * @param string $aco ACO The controlled object identifier. + * @param mixed $aro ARO The requesting object identifier. See `AclNode::node()` for possible formats + * @param mixed $aco ACO The controlled object identifier. See `AclNode::node()` for possible formats * @param string $action Action (defaults to *) * @return boolean Success */ @@ -115,8 +115,8 @@ class AclComponent extends Component { * Pass-thru function for ACL allow instance. Allow methods * are used to grant an ARO access to an ACO. * - * @param string $aro ARO The requesting object identifier. - * @param string $aco ACO The controlled object identifier. + * @param mixed $aro ARO The requesting object identifier. See `AclNode::node()` for possible formats + * @param mixed $aco ACO The controlled object identifier. See `AclNode::node()` for possible formats * @param string $action Action (defaults to *) * @return boolean Success */ @@ -128,8 +128,8 @@ class AclComponent extends Component { * Pass-thru function for ACL deny instance. Deny methods * are used to remove permission from an ARO to access an ACO. * - * @param string $aro ARO The requesting object identifier. - * @param string $aco ACO The controlled object identifier. + * @param mixed $aro ARO The requesting object identifier. See `AclNode::node()` for possible formats + * @param mixed $aco ACO The controlled object identifier. See `AclNode::node()` for possible formats * @param string $action Action (defaults to *) * @return boolean Success */ @@ -141,8 +141,8 @@ class AclComponent extends Component { * Pass-thru function for ACL inherit instance. Inherit methods * modify the permission for an ARO to be that of its parent object. * - * @param string $aro ARO The requesting object identifier. - * @param string $aco ACO The controlled object identifier. + * @param mixed $aro ARO The requesting object identifier. See `AclNode::node()` for possible formats + * @param mixed $aco ACO The controlled object identifier. See `AclNode::node()` for possible formats * @param string $action Action (defaults to *) * @return boolean Success */ @@ -153,8 +153,8 @@ class AclComponent extends Component { /** * Pass-thru function for ACL grant instance. An alias for AclComponent::allow() * - * @param string $aro ARO The requesting object identifier. - * @param string $aco ACO The controlled object identifier. + * @param mixed $aro ARO The requesting object identifier. See `AclNode::node()` for possible formats + * @param mixed $aco ACO The controlled object identifier. See `AclNode::node()` for possible formats * @param string $action Action (defaults to *) * @return boolean Success * @deprecated @@ -167,8 +167,8 @@ class AclComponent extends Component { /** * Pass-thru function for ACL grant instance. An alias for AclComponent::deny() * - * @param string $aro ARO The requesting object identifier. - * @param string $aco ACO The controlled object identifier. + * @param mixed $aro ARO The requesting object identifier. See `AclNode::node()` for possible formats + * @param mixed $aco ACO The controlled object identifier. See `AclNode::node()` for possible formats * @param string $action Action (defaults to *) * @return boolean Success * @deprecated