ftimme
2005-12-06 c4b4cec36f021be2965b23e34f4fe651f22e0847
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