projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e728b7
)
Fix #6032 - change the release index page to plain html
author
Alan Knowles
<alan@roojs.com>
Thu, 17 Oct 2019 04:45:08 +0000
(12:45 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 17 Oct 2019 04:45:08 +0000
(12:45 +0800)
DataObjects/Core_enum.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_enum.php
b/DataObjects/Core_enum.php
index
3140cf7
..
f609201
100644
(file)
--- a/
DataObjects/Core_enum.php
+++ b/
DataObjects/Core_enum.php
@@
-312,6
+312,15
@@
class Pman_Core_DataObjects_Core_enum extends DB_DataObject
return $x->fetchAll($fetchArg1, $fetchArg2, $fetchArg3);
}
+ function fetchAllByTypeOrderDisplay($etype, $fetchArg1=false, $fetchArg2=false, $fetchArg3=false)
+ {
+ $x = DB_DataObject::factory('core_enum');
+ $x->etype = $etype;
+ $x->active = 1;
+ $x->orderBy('display_name ASC');
+ return $x->fetchAll($fetchArg1, $fetchArg2, $fetchArg3);
+ }
+
function lookupObject($etype,$name, $create= false)
{