コード例 #1
0
     case 'bookmark_reference':
         $result = bookmark_references($data);
         break;
     case 'bookmark_and_tag':
     case 'bookmark_and_tags':
         //save collection of ids with some tag
         $result = bookmark_and_tag_record_ids($data);
         break;
     case 'add_detail':
         $result = add_detail($data);
         break;
     case 'replace_detail':
         $result = replace_detail($data);
         break;
     case 'delete_detail':
         $result = delete_detail($data);
         break;
     case 'set_ratings':
         $result = set_ratings($data);
         break;
     case 'save_search':
         $result = save_search($data);
         break;
     case 'bookmark_tag_and_ssearch':
         //from saveCollectionPopup.html   NOT USED SINCE 2012-02-13
         $result = bookmark_tag_and_save_search($data);
         break;
     case 'set_wg_and_vis':
         $result = set_wg_and_vis($data);
         break;
 }
コード例 #2
0
ファイル: detail.php プロジェクト: NguyenThanhDung/Finance
function submit_delete_detail($config)
{
    $id = $_POST['id'];
    return delete_detail($config, $id);
}