projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76bb89a
)
DataObjects/Core_template.php
author
Alan Knowles
<alan@roojs.com>
Fri, 4 Dec 2020 03:43:20 +0000
(11:43 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 4 Dec 2020 03:43:20 +0000
(11:43 +0800)
DataObjects/Core_template.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_template.php
b/DataObjects/Core_template.php
index
f034548
..
7e67a6e
100644
(file)
--- a/
DataObjects/Core_template.php
+++ b/
DataObjects/Core_template.php
@@
-383,6
+383,21
@@
class Pman_Core_DataObjects_Core_template extends DB_DataObject
}
+ SELECT LOWER(
+CONCAT(
+REPLACE(view_name, '.','_'),
+'_',
+REPLACE(template,'/','_')
+)
+)
+FROM core_template
+
+WHERE (
+ = 'release_pressrelease_distributionreportnew_journalistdistribution.php'
+)
+
+
+
function genGetText($cls)
{
$clsname = strtolower(get_class($cls));
@@
-391,6
+406,7
@@
class Pman_Core_DataObjects_Core_template extends DB_DataObject
$d->whereAdd("
LOWER(
CONCAT(
+ 'pman_',
REPLACE(view_name, '.','_'),
'_',
REPLACE(template,'/','_')