- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
public function action_delete(){
if (ORM::factory($_GET['type'], $_GET['id'])->delete())
$arr[0] = array("text" => "ok");
else
$arr[0] = array("text" => "no");
echo json_encode($arr);
}
k1011 27.10.2011 12:29 # 0
Lure Of Chaos 27.10.2011 12:33 # 0
roman-kashitsyn 27.10.2011 14:45 # 0
bugmenot 27.10.2011 15:13 # 0