Exemplo n.º 1
0
 public static function batchCopy()
 {
     $result = array();
     $copied = lC_Products_Admin::batchCopy($_GET['batch'], $_GET['new_category_id'], $_GET['copy_as']);
     if ($copied) {
         $result['rpcStatus'] = RPC_STATUS_SUCCESS;
     }
     echo json_encode($result);
 }