MTrackWeb/Project.php
authorAlan Knowles <alan@akbkhome.com>
Sun, 8 May 2011 06:45:54 +0000 (14:45 +0800)
committerAlan Knowles <alan@akbkhome.com>
Sun, 8 May 2011 06:45:54 +0000 (14:45 +0800)
MTrackWeb/Project.php

index 82560b9..0b764e4 100644 (file)
@@ -87,4 +87,12 @@ class MTrackWeb_Project extends MTrackWeb
         
     }
     
+    function checkGroupPerson($g,$p)
+    {
+        if (in_array($g->id, $p->_groups)) {
+            return 'checked';
+        }
+        return '';
+    }
+    
 }
\ No newline at end of file