ここの情報は古いです。ご理解頂いた上でお取り扱いください。

Changeset 510


Ignore:
Timestamp:
Oct 18, 2006, 9:12:22 AM (16 years ago)
Author:
kunitada
Message:

commu 動く

Location:
OpenPNE/branches/tejima/prj_db_refine/webapp/lib/db
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/tejima/prj_db_refine/webapp/lib/db/commu.php

    r509 r510  
    12971297 * 参加コミュニティ新着書き込みリスト取得
    12981298 */
    1299 function db_commu_c_commu_topic_comment_list4c_member_id($c_member_id, $page_size, $page)
     1299function db_commu_c_commu_topic_comment_list4c_member_id_3($c_member_id, $page_size, $page)
    13001300{
    13011301    $sql = "SELECT cc.c_commu_topic_id, c.name AS c_commu_name, ct.name AS c_commu_topic_name , cm.c_member_id, cc.number, max(cc.r_datetime) as r_datetime";
  • OpenPNE/branches/tejima/prj_db_refine/webapp/lib/db/deplicated_kunitada.php

    r509 r510  
    238238function k_p_h_home_c_commu_list_lastupdate4c_member_id($c_member_id, $limit)
    239239{
    240         db_commu_c_commu_list_lastupdate4c_member_id($c_member_id, $limit);
     240        return db_commu_c_commu_list_lastupdate4c_member_id($c_member_id, $limit);
    241241}
    242242
    243243function k_p_h_com_find_all_c_commu_list_lastupdated($limit = 5)
    244244{
    245         db_commu_c_commu_list_lastupdated($limit = 5)
     245        return db_commu_c_commu_list_lastupdated($limit = 5);
    246246}
    247247
    248248function k_p_c_bbs_c_commu_topic_name4c_commu_topic_id($c_commu_topic_id)
    249249{
    250         db_commu_c_commu_topic_name4c_commu_topic_id($c_commu_topic_id)
     250        return db_commu_c_commu_topic_name4c_commu_topic_id($c_commu_topic_id);
    251251}
    252252
    253253function k_p_c_bbs_c_commu_topic_comment_list4c_c_commu_topic_id($c_commu_topic_id, $c_member_id, $page_size, $page)
    254254{
    255         db_commu_c_commu_topic_comment_list4c_c_commu_topic_id($c_commu_topic_id, $c_member_id, $page_size, $page)
     255        return db_commu_c_commu_topic_comment_list4c_c_commu_topic_id($c_commu_topic_id, $c_member_id, $page_size, $page);
    256256}
    257257
    258258function k_p_c_bbs_c_commu4c_commu_topic_id($c_commu_topic_id)
    259259{
    260         db_commu_c_commu4c_commu_topic_id($c_commu_topic_id)
     260        return db_commu_c_commu4c_commu_topic_id($c_commu_topic_id);
    261261}
    262262
    263263function k_p_c_bbs_is_admin4c_member_id_c_commu_topic_id($c_member_id, $c_commu_topic_id)
    264264{
    265         db_commu_is_admin4c_member_id_c_commu_topic_id($c_member_id, $c_commu_topic_id)
     265        return db_commu_is_admin4c_member_id_c_commu_topic_id($c_member_id, $c_commu_topic_id);
    266266}
    267267
    268268function k_p_c_bbs_c_member_admin4c_commu_topic_id($c_commu_topic_id)
    269269{
    270         db_commu_c_member_admin4c_commu_topic_id($c_commu_topic_id)
     270        return db_commu_c_member_admin4c_commu_topic_id($c_commu_topic_id);
    271271}
    272272
    273273function k_p_fh_com_list_c_commu_list4c_member_id($c_member_id, $page_size, $page)
    274274{
    275         db_commu_c_commu_list4c_member_id_4($c_member_id, $page_size, $page)
     275        return db_commu_c_commu_list4c_member_id_4($c_member_id, $page_size, $page);
    276276}
    277277
    278278function k_p_c_home_relationship_between_member_commu($c_commu_id, $c_member_id)
    279279{
    280         db_commu_relationship_between_member_commu($c_commu_id, $c_member_id)
     280        return db_commu_relationship_between_member_commu($c_commu_id, $c_member_id);
    281281}
    282282
    283283function k_p_c_home_c_commu_member_list_random4c_commu_id($c_commu_id, $limit)
    284284{
    285         db_commu_c_commu_member_list_random4c_commu_id($c_commu_id, $limit)
     285        return db_commu_c_commu_member_list_random4c_commu_id($c_commu_id, $limit);
    286286}
    287287
    288288function k_p_c_member_list_c_members_disp4c_commu_id($c_commu_id, $page_size, $page)
    289289{
    290         db_commu_c_members_disp4c_commu_id($c_commu_id, $page_size, $page)
     290        return db_commu_c_members_disp4c_commu_id($c_commu_id, $page_size, $page);
    291291}
    292292function k_p_c_invite_c_friend_list_random4c_member_id4c_commu_id($c_member_id, $c_commu_id, $limit)
    293293{
    294         db_commu_c_friend_list_random4c_member_id4c_commu_id($c_member_id, $c_commu_id, $limit)
     294        return db_commu_c_friend_list_random4c_member_id4c_commu_id($c_member_id, $c_commu_id, $limit);
    295295}
    296296
     
    298298function k_p_h_home_c_commu_topic_comment_list4c_member_id($c_member_id, $page_size, $page)
    299299{
    300         db_commu_c_commu_topic_comment_list4c_member_id($c_member_id, $page_size, $page)
     300        return db_commu_c_commu_topic_comment_list4c_member_id_3($c_member_id, $page_size, $page);
    301301}
    302302
    303303function k_p_h_confirm_list_anatani_c_commu_member_confirm_list4c_member_id($c_member_id)
    304304{
    305         db_commu_anatani_c_commu_member_confirm_list4c_member_id_2($c_member_id)
     305        return db_commu_anatani_c_commu_member_confirm_list4c_member_id_2($c_member_id);
    306306}
    307307function k_p_h_confirm_list_anataga_c_commu_member_confirm_list4c_member_id($c_member_id)
    308308{
    309         db_commu_anataga_c_commu_member_confirm_list4c_member_id_2($c_member_id)
     309        return db_commu_anataga_c_commu_member_confirm_list4c_member_id_2($c_member_id);
    310310}
    311311
    312312function mail_c_commu_topic4c_commu_topic_id($c_commu_topic_id)
    313313{
    314         db_commu_c_commu_topic4c_commu_topic_id_3($c_commu_topic_id)
     314        return db_commu_c_commu_topic4c_commu_topic_id_3($c_commu_topic_id);
    315315}
    316316
     
    318318function _db_c_commu_category4null()
    319319{
    320         db_commu_c_commu_category4null()
     320        return db_commu_c_commu_category4null();
    321321}
    322322
     
    324324function p_h_com_find_all_c_commu_category_list4null()
    325325{
    326         db_commu_c_commu_category_list4null()
     326        return db_commu_c_commu_category_list4null();
    327327}
    328328
     
    330330function _db_c_commu_category_parent_list4null()
    331331{
    332         db_commu_c_commu_category_parent_list4null()
     332        return db_commu_c_commu_category_parent_list4null();
    333333}
    334334
     
    336336function db_commu_get_c_commu_category4id($c_commu_category_id)
    337337{
    338         db_commu_get_c_commu_category4id($c_commu_category_id)
     338        return db_commu_get_c_commu_category4id($c_commu_category_id)
    339339}
    340340*/
     
    342342function k_p_h_com_category_c_commu_category_name4c_commu_category_id($c_commu_category_id)
    343343{
    344         db_commu_c_commu_category_name4c_commu_category_id($c_commu_category_id)
     344        return db_commu_c_commu_category_name4c_commu_category_id($c_commu_category_id);
    345345}
    346346
     
    348348function k_p_h_com_category_c_commu_category_parent_id4c_commu_category_id($c_commu_category_id)
    349349{
    350         db_commu_c_commu_category_parent_id4c_commu_category_id($c_commu_category_id)
     350        return db_commu_c_commu_category_parent_id4c_commu_category_id($c_commu_category_id);
    351351}
    352352
     
    360360            $c_commu_category_id = 0)
    361361{
    362         db_commu_search_c_commu4c_commu_category(
     362        return db_commu_search_c_commu4c_commu_category(
    363363            $search_word,
    364364            $c_commu_category_parent_id,
     
    366366            $page,
    367367            $val_order = 'r_datetime',
    368             $c_commu_category_id = 0)
    369        
     368            $c_commu_category_id = 0);
    370369}
    371370
    372371function k_p_h_com_category_c_commu_list4c_commu_category_id_search($c_commu_category_id, $page_size, $page, $search_word)
    373372{
    374         db_commu_c_commu_list4c_commu_category_id_search($c_commu_category_id, $page_size, $page, $search_word)
     373        return db_commu_c_commu_list4c_commu_category_id_search($c_commu_category_id, $page_size, $page, $search_word);
    375374}
    376375
    377376function _db_is_c_event_admin($c_commu_topic_id, $c_member_id)
    378377{
    379         db_commu_is_c_event_admin($c_commu_topic_id, $c_member_id)
     378        return db_commu_is_c_event_admin($c_commu_topic_id, $c_member_id);
    380379}
    381380
    382381function _db_is_c_event_member($c_commu_topic_id, $c_member_id)
    383382{
    384         db_commu_is_c_event_member($c_commu_topic_id, $c_member_id)
     383        return db_commu_is_c_event_member($c_commu_topic_id, $c_member_id);
    385384}
    386385
    387386function c_event_detail_c_topic4c_commu_topic_id($c_commu_topic_id)
    388387{
    389         db_commu_c_topic4c_commu_topic_id_2($c_commu_topic_id)
     388        return db_commu_c_topic4c_commu_topic_id_2($c_commu_topic_id);
    390389}
    391390
    392391function c_event_detail_c_topic_write4c_commu_topic_id($c_commu_topic_id,$page,$page_size)
    393392{
    394         db_commu_c_topic_write4c_commu_topic_id($c_commu_topic_id,$page,$page_size)
     393        return db_commu_c_topic_write4c_commu_topic_id($c_commu_topic_id,$page,$page_size);
    395394}
    396395
    397396function c_event_write_delete_confirm_c_commu_topic_comment4c_commu_topic_comment_id($c_commu_topic_comment_id)
    398397{
    399         db_commu_c_commu_topic_comment4c_commu_topic_comment_id_3($c_commu_topic_comment_id)
     398        return db_commu_c_commu_topic_comment4c_commu_topic_comment_id_3($c_commu_topic_comment_id);
    400399}
    401400
     
    403402function c_event_member_list4c_commu_topic_id($c_commu_topic_id, $page, $page_size)
    404403{
    405         db_commu_c_event_member_list4c_commu_topic_id($c_commu_topic_id, $page, $page_size)
     404        return db_commu_c_event_member_list4c_commu_topic_id($c_commu_topic_id, $page, $page_size);
    406405}
    407406
     
    409408function count_c_event_member_list4c_commu_topic_id($c_commu_topic_id)
    410409{
    411         db_commu_count_c_event_member_list4c_commu_topic_id($c_commu_topic_id)
     410        return db_commu_count_c_event_member_list4c_commu_topic_id($c_commu_topic_id);
    412411}
    413412
     
    415414function p_c_event_mail_list4c_commu_topic_id($c_commu_topic_id, $excepted_id = 0)
    416415{
    417         db_commu_c_event_mail_list4c_commu_topic_id($c_commu_topic_id, $excepted_id = 0)
     416        return db_commu_c_event_mail_list4c_commu_topic_id($c_commu_topic_id, $excepted_id = 0);
    418417}
    419418
    420419function p_c_event_mail_confirm_list4c_member_ids($c_member_ids)
    421420{
    422         db_commu_c_event_mail_confirm_list4c_member_ids($c_member_ids)
     421        return db_commu_c_event_mail_confirm_list4c_member_ids($c_member_ids);
    423422}
    424423
    425424function p_c_event_add_year4null()
    426425{
    427         db_commu_year4null()
     426        return db_commu_year4null();
    428427}
    429428
     
    431430function p_common_is_c_event_member($c_commu_topic_id, $c_member_id)
    432431{
    433         db_commu_is_c_event_member_2($c_commu_topic_id, $c_member_id)
     432        return db_commu_is_c_event_member_2($c_commu_topic_id, $c_member_id);
    434433}
    435434
    436435function p_h_home_event4c_member_id($year, $month, $day, $c_member_id)
    437436{
    438         db_commu_event4c_member_id($year, $month, $day, $c_member_id)
     437        return db_commu_event4c_member_id($year, $month, $day, $c_member_id);
    439438}
    440439
     
    442441function k_p_c_event_member_list4c_commu_topic_id($c_commu_topic_id, $page_size, $page)
    443442{
    444         db_commu_c_event_member_list4c_commu_topic_id_2($c_commu_topic_id, $page_size, $page)
     443        return db_commu_c_event_member_list4c_commu_topic_id_2($c_commu_topic_id, $page_size, $page);
    445444}
    446445
     
    448447function k_p_count_c_event_member_list4c_commu_topic_id($c_commu_topic_id)
    449448{
    450         db_commu_count_c_event_member_list4c_commu_topic_id_2($c_commu_topic_id)
     449        return db_commu_count_c_event_member_list4c_commu_topic_id_2($c_commu_topic_id);
    451450}
    452451
     
    454453function db_c_commu4c_admin_invite_id($c_commu_id, $c_member_id_to)
    455454{
    456         db_commu_c_commu4c_admin_invite_id($c_commu_id, $c_member_id_to)
     455        return db_commu_c_commu4c_admin_invite_id($c_commu_id, $c_member_id_to);
    457456}
    458457
    459458function p_c_commu_member_id_list4c_commu_id($c_commu_id)
    460459{
    461         db_commu_c_commu_member_id_list4c_commu_id($c_commu_id)
     460        return db_commu_c_commu_member_id_list4c_commu_id($c_commu_id);
    462461}
    463462
     
    465464function db_commu_insert_c_commu($c_member_id, $name, $c_commu_category_id, $info, $public_flag)
    466465{
    467         db_commu_insert_c_commu($c_member_id, $name, $c_commu_category_id, $info, $public_flag)
     466        return db_commu_insert_c_commu($c_member_id, $name, $c_commu_category_id, $info, $public_flag);
    468467}
    469468
     
    471470    $name, $c_commu_category_id, $info, $public_flag,
    472471    $image_filename = '', $is_send_join_mail = 1,
    473     $is_display_map = null, $map_latitude = null, $map_longitude = null, $map_zoom = null)
    474 {
    475         function db_commu_update_c_commu($c_commu_id,
     472    $is_display_map = null, $map_latitude = null, $map_longitude = null, $map_zoom = null);
     473{
     474        return function db_commu_update_c_commu($c_commu_id,
    476475    $name, $c_commu_category_id, $info, $public_flag,
    477476    $image_filename = '', $is_send_join_mail = 1,
    478     $is_display_map = null, $map_latitude = null, $map_longitude = null, $map_zoom = null)
     477    $is_display_map = null, $map_latitude = null, $map_longitude = null, $map_zoom = null);
    479478   
    480479}
     
    482481function db_commu_update_c_commu_image_filename($c_commu_id, $image_filename)
    483482{
    484         db_commu_update_c_commu_image_filename($c_commu_id, $image_filename)
     483        return db_commu_update_c_commu_image_filename($c_commu_id, $image_filename);
    485484}
    486485
    487486function db_commu_delete_c_commu_image_filename($c_commu_id)
    488487{
    489         db_commu_delete_c_commu_image_filename($c_commu_id)
     488        return db_commu_delete_c_commu_image_filename($c_commu_id);
    490489}
    491490
    492491function db_commu_update_c_commu_c_member_id_admin($c_commu_id, $c_member_id)
    493492{
    494         db_commu_update_c_commu_c_member_id_admin($c_commu_id, $c_member_id)
     493        return db_commu_update_c_commu_c_member_id_admin($c_commu_id, $c_member_id);
    495494}
    496495
    497496function db_commu_update_is_regist_join($c_commu_id, $value = 0)
    498497{
    499         db_commu_update_is_regist_join($c_commu_id, $value = 0)
     498        return db_commu_update_is_regist_join($c_commu_id, $value = 0);
    500499}
    501500
    502501function db_commu_delete_c_commu_member_confirm($c_commu_member_confirm_id)
    503502{
    504         db_commu_delete_c_commu_member_confirm($c_commu_member_confirm_id)
     503        return db_commu_delete_c_commu_member_confirm($c_commu_member_confirm_id);
    505504}
    506505
    507506function db_commu_insert_c_commu_member($c_commu_member_confirm_id)
    508507{
    509         db_commu_insert_c_commu_member($c_commu_member_confirm_id)
     508        return db_commu_insert_c_commu_member($c_commu_member_confirm_id);
    510509}
    511510
    512511function db_commu_insert_c_commu_member_confirm($c_commu_id, $c_member_id, $message = '')
    513512{
    514         db_commu_insert_c_commu_member_confirm($c_commu_id, $c_member_id, $message = '')
     513        return db_commu_insert_c_commu_member_confirm($c_commu_id, $c_member_id, $message = '');
    515514}
    516515
    517516function db_commu_insert_c_commu_admin_confirm($c_commu_id, $c_member_id, $message = '')
    518517{
    519         db_commu_insert_c_commu_admin_confirm($c_commu_id, $c_member_id, $message = '')
     518        return db_commu_insert_c_commu_admin_confirm($c_commu_id, $c_member_id, $message = '');
    520519}
    521520
    522521function db_commu_delete_c_commu_admin_confirm4id($c_commu_admin_confirm_id)
    523522{
    524         db_commu_delete_c_commu_admin_confirm4id($c_commu_admin_confirm_id)
     523        return db_commu_delete_c_commu_admin_confirm4id($c_commu_admin_confirm_id);
    525524}
    526525
    527526function db_commu_delete_c_commu_admin_confirm4c_commu_id($c_commu_id)
    528527{
    529         db_commu_delete_c_commu_admin_confirm4c_commu_id($c_commu_id)
     528        return db_commu_delete_c_commu_admin_confirm4c_commu_id($c_commu_id);
    530529}
    531530
    532531function db_commu_delete_c_commu_topic($c_commu_topic_id)
    533532{
    534         db_commu_delete_c_commu_topic($c_commu_topic_id)
     533        return db_commu_delete_c_commu_topic($c_commu_topic_id);
    535534}
    536535
    537536function db_commu_insert_c_commu_topic_comment($c_commu_id, $c_commu_topic_id, $c_member_id, $body)
    538537{
    539         db_commu_insert_c_commu_topic_comment($c_commu_id, $c_commu_topic_id, $c_member_id, $body)
     538        return db_commu_insert_c_commu_topic_comment($c_commu_id, $c_commu_topic_id, $c_member_id, $body);
    540539}
    541540
    542541function do_c_bbs_insert_c_commu_topic_comment($c_member_id,$target_c_commu_topic_id,$body)
    543542{
    544         do_c_bbs_insert_c_commu_topic_comment($c_member_id,$target_c_commu_topic_id,$body)
     543        return do_c_bbs_insert_c_commu_topic_comment($c_member_id,$target_c_commu_topic_id,$body);
    545544}
    546545
    547546function db_commu_update_c_commu_topic_comment_images($c_commu_topic_comment_id, $image_filename1, $image_filename2, $image_filename3)
    548547{
    549         db_commu_update_c_commu_topic_comment_images($c_commu_topic_comment_id, $image_filename1, $image_filename2, $image_filename3)
     548        return db_commu_update_c_commu_topic_comment_images($c_commu_topic_comment_id, $image_filename1, $image_filename2, $image_filename3);
    550549}
    551550
    552551function mail_update_c_commu_topic_comment_image($c_commu_topic_comment_id, $image_filename, $image_num)
    553552{
    554         mail_update_c_commu_topic_comment_image($c_commu_topic_comment_id, $image_filename, $image_num)
     553        return mail_update_c_commu_topic_comment_image($c_commu_topic_comment_id, $image_filename, $image_num);
    555554}
    556555
    557556function do_c_bbs_delete_c_commu_topic_comment($c_commu_topic_comment_id)
    558557{
    559         do_c_bbs_delete_c_commu_topic_comment($c_commu_topic_comment_id)
     558        return do_c_bbs_delete_c_commu_topic_comment($c_commu_topic_comment_id);
    560559}
    561560
    562561function do_c_event_edit_update_c_commu_topic($c_commu_topic_id, $topic)
    563562{
    564         do_c_event_edit_update_c_commu_topic($c_commu_topic_id, $topic)
     563        return do_c_event_edit_update_c_commu_topic($c_commu_topic_id, $topic);
    565564}
    566565
    567566function do_c_event_edit_update_c_commu_topic_comment($c_commu_topic_id, $topic_comment)
    568567{
    569         do_c_event_edit_update_c_commu_topic($c_commu_topic_id, $topic)
     568        return do_c_event_edit_update_c_commu_topic($c_commu_topic_id, $topic);
    570569}
    571570
    572571function do_c_event_edit_delete_c_commu_topic_comment_image($c_commu_topic_id, $image_num)
    573572{
    574         do_c_event_edit_delete_c_commu_topic_comment_image($c_commu_topic_id, $image_num)
     573        return do_c_event_edit_delete_c_commu_topic_comment_image($c_commu_topic_id, $image_num);
    575574}
    576575
    577576function do_c_event_add_insert_c_commu_topic($topic)
    578577{
    579         do_c_event_add_insert_c_commu_topic($topic)
     578        return do_c_event_add_insert_c_commu_topic($topic);
    580579}
    581580
    582581function do_c_event_add_insert_c_commu_topic_comment($comment)
    583582{
    584         do_c_event_add_insert_c_commu_topic_comment($comment)
     583        return do_c_event_add_insert_c_commu_topic_comment($comment);
    585584}
    586585
    587586function do_c_event_add_insert_c_event_member_as_admin($c_commu_topic_id, $c_member_id)
    588587{
    589         do_c_event_add_insert_c_event_member_as_admin($c_commu_topic_id, $c_member_id)
     588        return do_c_event_add_insert_c_event_member_as_admin($c_commu_topic_id, $c_member_id);
    590589}
    591590
    592591function do_c_event_add_insert_c_event_member($c_commu_topic_id, $c_member_id)
    593592{
    594         do_c_event_add_insert_c_event_member($c_commu_topic_id, $c_member_id)
     593        return do_c_event_add_insert_c_event_member($c_commu_topic_id, $c_member_id);
    595594}
    596595
    597596function do_c_event_add_delete_c_event_member($c_commu_topic_id, $c_member_id)
    598597{
    599         do_c_event_add_insert_c_event_member($c_commu_topic_id, $c_member_id)
     598        return do_c_event_add_insert_c_event_member($c_commu_topic_id, $c_member_id);
    600599}
    601600
    602601function do_inc_join_c_commu($c_commu_id, $c_member_id)
    603602{
    604         do_inc_join_c_commu($c_commu_id, $c_member_id)
     603        return do_inc_join_c_commu($c_commu_id, $c_member_id);
    605604}
    606605
    607606function db_commu_delete_c_commu_member($c_commu_id, $c_member_id)
    608607{
    609         db_commu_delete_c_commu_member($c_commu_id, $c_member_id)
     608        return db_commu_delete_c_commu_member($c_commu_id, $c_member_id);
    610609}
    611610
    612611function do_c_home_update_is_receive_mail($c_commu_id, $c_member_id, $is_receive_mail, $is_receive_mail_pc, $is_receive_message)
    613612{
    614         do_c_home_update_is_receive_mail($c_commu_id, $c_member_id, $is_receive_mail, $is_receive_mail_pc, $is_receive_message)
     613        return do_c_home_update_is_receive_mail($c_commu_id, $c_member_id, $is_receive_mail, $is_receive_mail_pc, $is_receive_message);
    615614}
    616615
    617616function db_commu_insert_c_commu_admin_invite($c_commu_id, $c_member_id_to)
    618617{
    619         do_c_home_update_is_receive_mail($c_commu_id, $c_member_id, $is_receive_mail, $is_receive_mail_pc, $is_receive_message)
     618        return do_c_home_update_is_receive_mail($c_commu_id, $c_member_id, $is_receive_mail, $is_receive_mail_pc, $is_receive_message);
    620619}
    621620
    622621function db_commu_delete_c_commu_admin_invite($c_commu_admin_invite_id)
    623622{
    624         do_c_home_update_is_receive_mail($c_commu_id, $c_member_id, $is_receive_mail, $is_receive_mail_pc, $is_receive_message)
     623        return do_c_home_update_is_receive_mail($c_commu_id, $c_member_id, $is_receive_mail, $is_receive_mail_pc, $is_receive_message);
    625624}
    626625*/
Note: See TracChangeset for help on using the changeset viewer.