From e82e500714da62f2060ea2061c6e48ccd8027383 Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Tue, 06 Dec 2005 08:10:50 -0500
Subject: [PATCH] Added onAfterInsert and onAfterUpdate Events in tform actions
---
interface/lib/classes/tform_actions.inc.php | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/interface/lib/classes/tform_actions.inc.php b/interface/lib/classes/tform_actions.inc.php
index 28b23b0..7652567 100644
--- a/interface/lib/classes/tform_actions.inc.php
+++ b/interface/lib/classes/tform_actions.inc.php
@@ -113,6 +113,8 @@
foreach($this->plugins as $plugin) {
$plugin->onInsert();
}
+
+ $this->onAfterUpdate();
if($_REQUEST["next_tab"] == '') {
$list_name = $_SESSION["s"]["form"]["return_to"];
@@ -151,6 +153,8 @@
foreach($this->plugins as $plugin) {
$plugin->onInsert();
}
+
+ $this->onAfterInsert();
if($_REQUEST["next_tab"] == '') {
$list_name = $_SESSION["s"]["form"]["return_to"];
@@ -170,6 +174,15 @@
$this->onError();
}
}
+
+ function onAfterUpdate() {
+ global $app, $conf;
+ }
+
+ function onAfterInsert() {
+ global $app, $conf;
+ }
+
/**
* Function called on data insert or update error
--
Gitblit v1.9.1