projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b82a5e3
)
DataObjects/Groups.php
author
Alan Knowles
<alan@roojs.com>
Fri, 16 Dec 2011 07:36:59 +0000
(15:36 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 16 Dec 2011 07:36:59 +0000
(15:36 +0800)
DataObjects/Groups.php
patch
|
blob
|
history
diff --git
a/DataObjects/Groups.php
b/DataObjects/Groups.php
index
f87f03a
..
3366754
100755
(executable)
--- a/
DataObjects/Groups.php
+++ b/
DataObjects/Groups.php
@@
-93,6
+93,16
@@
class Pman_Core_DataObjects_Groups extends DB_DataObject
}
-
+ function postListFilter($ar, $au, $req)
+ {
+
+ $ret[] = array( 'id' => 0, 'name' => 'EVERYONE');
+ $ret[] = array( 'id' => -1, 'name' => 'NOT_IN_GROUP');
+ return array_merge($ret, $ar);
+ //$ret[] = array( 'id' => 999999, 'name' => 'ADMINISTRATORS');
+
+ }
+
+
}