projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e4cd531
)
PHP8 roo trait
author
Alan
<alan@roojs.com>
Tue, 16 Jan 2024 04:37:06 +0000
(12:37 +0800)
committer
Alan
<alan@roojs.com>
Tue, 16 Jan 2024 04:37:06 +0000
(12:37 +0800)
RooPostTrait.php
patch
|
blob
|
history
RooTrait.php
patch
|
blob
|
history
diff --git
a/RooPostTrait.php
b/RooPostTrait.php
index
456aa7a
..
9f6b9c9
100644
(file)
--- a/
RooPostTrait.php
+++ b/
RooPostTrait.php
@@
-2,6
+2,8
@@
trait Pman_Core_RooPostTrait {
trait Pman_Core_RooPostTrait {
+ var $old;
+
/**
* POST method Roo/TABLENAME
* -- creates, updates, or deletes data.
/**
* POST method Roo/TABLENAME
* -- creates, updates, or deletes data.
diff --git
a/RooTrait.php
b/RooTrait.php
index
9a929f1
..
b00112a
100644
(file)
--- a/
RooTrait.php
+++ b/
RooTrait.php
@@
-10,9
+10,23
@@
trait Pman_Core_RooTrait {
var $debugEnabled = true;
var $debugEnabled = true;
+ var $appName;
+ var $appNameShort;
+ var $appModules;
+ var $isDev;
+ var $appDisable;
+ var $appDisabled;
+ var $version ;
+ var $uiConfig ;
+
+ var $cols = array();
+ var $countWhat;
+ var $colsJname;
+ var $_hasInit;
+
function init()
{
function init()
{
- if (
isset
($this->_hasInit)) {
+ if (
!empty
($this->_hasInit)) {
return;
}
return;
}
@@
-143,7
+157,7
@@
trait Pman_Core_RooTrait {
}
}
- var $cols = array();
+
function loadMap($do, $cfg =array())
{
function loadMap($do, $cfg =array())
{