projects
/
Pman.Base
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6107e77
)
typo on comments
author
Alan Knowles
<alan@roojs.com>
Tue, 25 Aug 2020 06:47:54 +0000
(14:47 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 25 Aug 2020 06:47:54 +0000
(14:47 +0800)
Pman/Roo.php
patch
|
blob
|
history
diff --git
a/Pman/Roo.php
b/Pman/Roo.php
index
26fd0a9
..
3cccb1a
100644
(file)
--- a/
Pman/Roo.php
+++ b/
Pman/Roo.php
@@
-635,7
+635,7
@@
class Pman_Roo extends Pman
* - return false for fail and set DO->err;
*
* beforeUpdate($old, $request,$roo)
* - return false for fail and set DO->err;
*
* beforeUpdate($old, $request,$roo)
- * -
after
update - jerr() will stop insert..
+ * -
before
update - jerr() will stop insert..
* beforeInsert($request,$roo)
* - before insert - jerr() will stop insert..
*
* beforeInsert($request,$roo)
* - before insert - jerr() will stop insert..
*
@@
-969,6
+969,7
@@
class Pman_Roo extends Pman
}
$ev = $this->addEvent("ADD", $x);
if (method_exists($x, 'onInsert')) {
}
$ev = $this->addEvent("ADD", $x);
if (method_exists($x, 'onInsert')) {
+
$x->onInsert($_REQUEST, $this, $ev);
}
$x->onInsert($_REQUEST, $this, $ev);
}