ArtiGrid
Callbacks
<?php
// callbacks/name_table.php // productlines.php
return [
'beforeInsert' => [
['callback' => 'insertproductlines', 'file' => 'functions.php'],
],
'afterInsert' => [
['callback' => '', 'file' => 'functions.php'],
],
'beforeUpdate' => [
['callback' => '', 'file' => 'functions.php'],
],
'beforeDelete' => [
['callback' => '', 'file' => 'functions.php'],
],
];
// file functions.php
function productlines($data){
echo "Insert stop";
die();
return $data;
}
?>
