| | |
| | | $plugin->onInsert();
|
| | | }
|
| | |
|
| | | $this->onAfterUpdate();
|
| | |
|
| | | if($_REQUEST["next_tab"] == '') {
|
| | | $list_name = $_SESSION["s"]["form"]["return_to"];
|
| | | if($list_name != '' && $_SESSION["s"]["list"][$list_name]["parent_id"] != $this->id && $_SESSION["s"]["list"][$list_name]["parent_name"] != $app->tform->formDef["name"]) {
|
| | |
| | | $plugin->onInsert();
|
| | | }
|
| | |
|
| | | $this->onAfterInsert();
|
| | |
|
| | | if($_REQUEST["next_tab"] == '') {
|
| | | $list_name = $_SESSION["s"]["form"]["return_to"];
|
| | | if($list_name != '' && $_SESSION["s"]["list"][$list_name]["parent_id"] != $this->id && $_SESSION["s"]["list"][$list_name]["parent_name"] != $app->tform->formDef["name"]) {
|
| | |
| | | }
|
| | | }
|
| | |
|
| | | function onAfterUpdate() {
|
| | | global $app, $conf;
|
| | | }
|
| | | |
| | | function onAfterInsert() {
|
| | | global $app, $conf;
|
| | | }
|
| | | |
| | |
|
| | | /**
|
| | | * Function called on data insert or update error
|
| | | */
|