ArtiGrid
v1.5

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;
    }
?>
id productLine textDescription htmlDescription image Actions