From 60094db9d20e07a6748c9c9f48a03aa637f4a62e Mon Sep 17 00:00:00 2001 From: "Leo R. Lundgren" Date: Tue, 11 Dec 2012 00:08:02 +0100 Subject: [PATCH] Fix #1839: Add more whitespace to phpdoc for CAccessControlFilter. --- framework/web/auth/CAccessControlFilter.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/framework/web/auth/CAccessControlFilter.php b/framework/web/auth/CAccessControlFilter.php index ec6de6a13e..f39723a11f 100644 --- a/framework/web/auth/CAccessControlFilter.php +++ b/framework/web/auth/CAccessControlFilter.php @@ -24,28 +24,38 @@ *
  * array(
  *   'allow',  // or 'deny'
+ * 
  *   // optional, list of action IDs (case insensitive) that this rule applies to
  *   // if not specified, rule applies to all actions
  *   'actions'=>array('edit', 'delete'),
+ * 
  *   // optional, list of controller IDs (case insensitive) that this rule applies to
  *   'controllers'=>array('post', 'admin/user'),
+ * 
  *   // optional, list of usernames (case insensitive) that this rule applies to
  *   // Use * to represent all users, ? guest users, and @ authenticated users
  *   'users'=>array('thomas', 'kevin'),
+ * 
  *   // optional, list of roles (case sensitive!) that this rule applies to.
  *   'roles'=>array('admin', 'editor'),
+ * 
  *   // since version 1.1.11 you can pass parameters for RBAC bizRules
  *   'roles'=>array('updateTopic'=>array('topic'=>$topic))
+ * 
  *   // optional, list of IP address/patterns that this rule applies to
  *   // e.g. 127.0.0.1, 127.0.0.*
  *   'ips'=>array('127.0.0.1'),
+ * 
  *   // optional, list of request types (case insensitive) that this rule applies to
  *   'verbs'=>array('GET', 'POST'),
+ * 
  *   // optional, a PHP expression whose value indicates whether this rule applies
  *   'expression'=>'!$user->isGuest && $user->level==2',
+ * 
  *   // optional, the customized error message to be displayed
  *   // This option is available since version 1.1.1.
  *   'message'=>'Access Denied.',
+ * 
  *   // optional, the denied method callback name, that will be called once the
  *	 // access is denied, instead of showing the customized error message. It can also be
  *   // a valid PHP callback, including class method name (array(ClassName/Object, MethodName)),