projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
299d11a
)
DataObjects/Core_enum.php
author
Chris
<chris@roojs.com>
Tue, 26 Feb 2013 08:55:39 +0000
(16:55 +0800)
committer
Chris
<chris@roojs.com>
Tue, 26 Feb 2013 08:55:39 +0000
(16:55 +0800)
DataObjects/Core_enum.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_enum.php
b/DataObjects/Core_enum.php
index
72a50e5
..
db5e74b
100644
(file)
--- a/
DataObjects/Core_enum.php
+++ b/
DataObjects/Core_enum.php
@@
-39,6
+39,21
@@
class Pman_Core_DataObjects_Core_enum extends DB_DataObject
}
}
+ function postListFilter($data, $authUser, $q) {
+
+ if(!empty($q['cmsTab'])){
+ $ret = array();
+ foreach($data as $k=>$v){
+ if($v['name'] == 'page'){
+ $data[$k]['display_name'] = $v['display_name'].' / Elements';
+ }
+ }
+ }
+
+ return $data;
+
+ }
+
function onUpdate($old, $req)
{
$x = $this->factory($this->tableName());