DataObjects/Person.php
authorAlan Knowles <alan@akkbhome.com>
Thu, 14 Apr 2011 00:30:20 +0000 (08:30 +0800)
committerAlan Knowles <alan@akkbhome.com>
Thu, 14 Apr 2011 00:30:20 +0000 (08:30 +0800)
DataObjects/Person.php

index 20bf36e..356ff83 100644 (file)
@@ -512,7 +512,17 @@ class Pman_Core_DataObjects_Person extends DB_DataObject
             return "Duplicate Email found";
         }
         return true;
-    }    
+    }
+    
+    
+    /***
+     * Check if the a user has access to modify this item.
+     * @param String $lvl Level (eg. Core.Projects)
+     * @param Pman_Core_DataObjects_Person $au The authenticated user.
+     * @param boolean $changes alllow changes???
+     *
+     * @return false if no access..
+     */
     function checkPerm($lvl, $au, $changes=false) //heck who is trying to access this. false == access denied..
     {