DoDeleteTblMember.json.class.php 500 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php
/**
 * @author Prima Noor 
 */

class DoDeleteTblMember extends JsonResponse
{
    function ProcessRequest()
    {
        $proses = GtfwDispt()->load->process('ProcessTblMember', 'tbl.member');
        
        $id = $_GET['id']->Integer()->Raw();                
        
        $proses->delete($id);

        return array('exec' => 'replaceContentWithUrl("subcontent-element","' . GtfwDispt()->GetUrl('tbl.member', 'TblMember', 'view', 'html') .'&display' . '&ascomponent=1")');
    }
}

?>