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

Changeset 9295


Ignore:
Timestamp:
Nov 21, 2008, 12:53:44 AM (12 years ago)
Author:
akamine
Message:

#3107 各関数のプレフィックスを修正

Location:
OpenPNE/branches/stable-2.12.x/webapp
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/stable-2.12.x/webapp/lib/db/commu.php

    r9246 r9295  
    798798 * @return int 希望しているメンバー数
    799799 */
    800 function db_count_c_anatani_c_commu_member_confirm($c_member_id)
     800function db_commu_count_c_anatani_c_commu_member_confirm($c_member_id)
    801801{
    802802    $sql = "SELECT COUNT(*) FROM c_commu_member_confirm AS cmc, c_commu AS c";
     
    817817 * @see     h_confirm_list.php
    818818 */
    819 function db_ktai_commu_anatani_c_commu_member_confirm_list4c_member_id($c_member_id, $page_size=5, $page)
     819function db_commu_ktai_anatani_c_commu_member_confirm_list4c_member_id($c_member_id, $page_size=5, $page)
    820820{
    821821    $sql = "SELECT cmc.*, c.name AS c_commu_name";
     
    831831    }
    832832
    833     $total_num = db_count_c_anatani_c_commu_member_confirm($c_member_id);
     833    $total_num = db_commu_count_c_anatani_c_commu_member_confirm($c_member_id);
    834834
    835835    if ($total_num != 0) {
     
    856856 * @return int 希望している数
    857857 */
    858 function db_count_c_anataga_c_commu_member_confirm($c_member_id)
     858function db_commu_count_c_anataga_c_commu_member_confirm($c_member_id)
    859859{
    860860    $sql = "SELECT COUNT(*) FROM c_commu_member_confirm AS cmc, c_commu AS c";
     
    876876 * @see     h_confirm_list.php
    877877 */
    878 function db_ktai_commu_anataga_c_commu_member_confirm_list4c_member_id($c_member_id, $page_size=5, $page)
     878function db_commu_ktai_anataga_c_commu_member_confirm_list4c_member_id($c_member_id, $page_size=5, $page)
    879879{
    880880    $sql = "SELECT cmc.*, c.name AS c_commu_name, c.c_member_id_admin";
     
    890890    }
    891891
    892     $total_num = db_count_c_anataga_c_commu_member_confirm($c_member_id);
     892    $total_num = db_commu_count_c_anataga_c_commu_member_confirm($c_member_id);
    893893
    894894    if ($total_num != 0) {
     
    915915 * @return int 希望している数
    916916 */
    917 function db_count_c_anatani_c_commu_admin_confirm($c_member_id)
     917function db_commu_count_c_anatani_c_commu_admin_confirm($c_member_id)
    918918{
    919919    $sql = "SELECT COUNT(*) FROM c_commu_admin_confirm AS cmc, c_commu AS c";
     
    935935 * @see     h_confirm_list.php
    936936 */
    937 function db_ktai_commu_anatani_c_commu_admin_confirm_list4c_member_id($c_member_id_to, $page_size=5, $page)
     937function db_commu_ktai_anatani_c_commu_admin_confirm_list4c_member_id($c_member_id_to, $page_size=5, $page)
    938938{
    939939    $sql = "SELECT cac.*, c.name AS c_commu_name, c.c_member_id_admin";
     
    948948        $c_commu_admin_confirm_list[$key]['image_filename'] = $c_member['image_filename'];
    949949    }
    950     $total_num = db_count_c_anatani_c_commu_admin_confirm($c_member_id_to);
     950    $total_num = db_commu_count_c_anatani_c_commu_admin_confirm($c_member_id_to);
    951951
    952952    if ($total_num != 0) {
     
    973973 * @return int 要請している数
    974974 */
    975 function db_count_c_anataga_c_commu_admin_confirm($c_member_id)
     975function db_commu_count_c_anataga_c_commu_admin_confirm($c_member_id)
    976976{
    977977    $sql = "SELECT COUNT(*) FROM c_commu_admin_confirm AS cmc, c_commu AS c";
     
    991991 * @see     h_confirm_list.php
    992992 */
    993 function db_ktai_commu_anataga_c_commu_admin_confirm_list4c_member_id($c_member_id_admin, $page_size=5, $page)
     993function db_commu_ktai_anataga_c_commu_admin_confirm_list4c_member_id($c_member_id_admin, $page_size=5, $page)
    994994{
    995995    $sql = "SELECT cac.*, c.name AS c_commu_name, c.c_member_id_admin";
     
    10051005    }
    10061006
    1007     $total_num = db_count_c_anataga_c_commu_admin_confirm($c_member_id_admin);
     1007    $total_num = db_commu_count_c_anataga_c_commu_admin_confirm($c_member_id_admin);
    10081008
    10091009    if ($total_num != 0) {
     
    10301030 * @return int 希望している数
    10311031 */
    1032 function db_count_c_anatani_c_commu_sub_admin_confirm($c_member_id)
     1032function db_commu_count_c_anatani_c_commu_sub_admin_confirm($c_member_id)
    10331033{
    10341034    $sql = "SELECT COUNT(*) FROM c_commu_sub_admin_confirm AS cmc, c_commu AS c";
     
    10501050 * @see     h_confirm_list.php
    10511051 */
    1052 function db_ktai_commu_anatani_c_commu_sub_admin_confirm_list4c_member_id($c_member_id_to, $page_size=5, $page)
     1052function db_commu_ktai_anatani_c_commu_sub_admin_confirm_list4c_member_id($c_member_id_to, $page_size=5, $page)
    10531053{
    10541054    $sql = "SELECT cac.*, c.name AS c_commu_name, c.c_member_id_admin";
     
    10631063        $c_commu_sub_admin_confirm_list[$key]['image_filename'] = $c_member['image_filename'];
    10641064    }
    1065     $total_num = db_count_c_anatani_c_commu_sub_admin_confirm($c_member_id_to);
     1065    $total_num = db_commu_count_c_anatani_c_commu_sub_admin_confirm($c_member_id_to);
    10661066
    10671067    if ($total_num != 0) {
     
    10881088 * @return int 要請している数
    10891089 */
    1090 function db_count_c_anataga_c_commu_sub_admin_confirm($c_member_id)
     1090function db_commu_count_c_anataga_c_commu_sub_admin_confirm($c_member_id)
    10911091{
    10921092    $sql = "SELECT COUNT(*) FROM c_commu_sub_admin_confirm AS cmc, c_commu AS c";
     
    11061106 * @see     h_confirm_list.php
    11071107 */
    1108 function db_ktai_commu_anataga_c_commu_sub_admin_confirm_list4c_member_id($c_member_id_admin, $page_size=5, $page)
     1108function db_commu_ktai_anataga_c_commu_sub_admin_confirm_list4c_member_id($c_member_id_admin, $page_size=5, $page)
    11091109{
    11101110    $sql = "SELECT cac.*, c.name AS c_commu_name, c.c_member_id_admin";
     
    11201120    }
    11211121
    1122     $total_num = db_count_c_anataga_c_commu_sub_admin_confirm($c_member_id_admin);
     1122    $total_num = db_commu_count_c_anataga_c_commu_sub_admin_confirm($c_member_id_admin);
    11231123
    11241124    if ($total_num != 0) {
  • OpenPNE/branches/stable-2.12.x/webapp/lib/db/friend.php

    r9028 r9295  
    565565 * @return int 要請しているメンバー数
    566566 */
    567 function db_count_c_anatani_friend_confirm($c_member_id)
     567function db_friend_count_c_anatani_friend_confirm($c_member_id)
    568568{
    569569    $sql = 'SELECT COUNT(*) FROM c_friend_confirm WHERE c_member_id_to = ?';
     
    593593    }
    594594
    595     $total_num = db_count_c_anatani_friend_confirm($c_member_id_to);
     595    $total_num = db_friend_count_c_anatani_friend_confirm($c_member_id_to);
    596596
    597597    if ($total_num != 0) {
     
    618618 * @return int 要請しているメンバー数
    619619 */
    620 function db_count_c_anataga_friend_confirm($c_member_id)
     620function db_friend_count_c_anataga_friend_confirm($c_member_id)
    621621{
    622622    $sql = 'SELECT COUNT(*) FROM c_friend_confirm WHERE c_member_id_from = ?';
     
    646646    }
    647647
    648     $total_num = db_count_c_anataga_friend_confirm($c_member_id_from);
     648    $total_num = db_friend_count_c_anataga_friend_confirm($c_member_id_from);
    649649
    650650    if ($total_num != 0) {
  • OpenPNE/branches/stable-2.12.x/webapp/modules/ktai/page/h_anataga_c_commu_admin_confirm_list.php

    r8945 r9295  
    3030        $page += $direc;
    3131        //ターゲットの詳細なリスト
    32         $list = db_ktai_commu_anataga_c_commu_admin_confirm_list4c_member_id($u, $page_size, $page);
    33         $total_num = db_count_c_anataga_c_commu_admin_confirm($u);
     32        $list = db_commu_ktai_anataga_c_commu_admin_confirm_list4c_member_id($u, $page_size, $page);
     33        $total_num = db_commu_count_c_anataga_c_commu_admin_confirm($u);
    3434        $this->set("anataga_c_commu_admin_confirm_list", $list[0]);
    3535        $this->set("page", $page);
  • OpenPNE/branches/stable-2.12.x/webapp/modules/ktai/page/h_anataga_c_commu_member_confirm_list.php

    r8945 r9295  
    3030        $page += $direc;
    3131        //ターゲットの詳細なリスト
    32         $list = db_ktai_commu_anataga_c_commu_member_confirm_list4c_member_id($u, $page_size, $page);
    33         $total_num = db_count_c_anataga_c_commu_member_confirm($u);
     32        $list = db_commu_ktai_anataga_c_commu_member_confirm_list4c_member_id($u, $page_size, $page);
     33        $total_num = db_commu_count_c_anataga_c_commu_member_confirm($u);
    3434        $this->set("anataga_c_commu_member_confirm_list", $list[0]);
    3535        $this->set("page", $page);
  • OpenPNE/branches/stable-2.12.x/webapp/modules/ktai/page/h_anataga_c_commu_sub_admin_confirm_list.php

    r8945 r9295  
    3030        $page += $direc;
    3131        //ターゲットの詳細なリスト
    32         $list = db_ktai_commu_anataga_c_commu_sub_admin_confirm_list4c_member_id($u, $page_size, $page);
    33         $total_num = db_count_c_anataga_c_commu_sub_admin_confirm($u);
     32        $list = db_commu_ktai_anataga_c_commu_sub_admin_confirm_list4c_member_id($u, $page_size, $page);
     33        $total_num = db_commu_count_c_anataga_c_commu_sub_admin_confirm($u);
    3434        $this->set("anataga_c_commu_sub_admin_confirm_list", $list[0]);
    3535        $this->set("page", $page);
  • OpenPNE/branches/stable-2.12.x/webapp/modules/ktai/page/h_anataga_c_friend_confirm_list.php

    r8945 r9295  
    3030        //ターゲットの詳細なリスト
    3131        $list = db_friend_ktai_anataga_c_friend_confirm_list4c_member_id($u, $page_size, $page);
    32         $total_num = db_count_c_anataga_friend_confirm($u);
     32        $total_num = db_friend_count_c_anataga_friend_confirm($u);
    3333        $this->set("c_friend_confirm_list", $list[0]);
    3434        $this->set("page", $page);
  • OpenPNE/branches/stable-2.12.x/webapp/modules/ktai/page/h_anatani_c_commu_admin_confirm_list.php

    r8945 r9295  
    3030        $page += $direc;
    3131        //ターゲットの詳細なリスト
    32         $list = db_ktai_commu_anatani_c_commu_admin_confirm_list4c_member_id($u, $page_size, $page);
    33         $total_num = db_count_c_anatani_c_commu_admin_confirm($u);
     32        $list = db_commu_ktai_anatani_c_commu_admin_confirm_list4c_member_id($u, $page_size, $page);
     33        $total_num = db_commu_count_c_anatani_c_commu_admin_confirm($u);
    3434        $this->set("anatani_c_commu_admin_confirm_list", $list[0]);
    3535        $this->set("page", $page);
  • OpenPNE/branches/stable-2.12.x/webapp/modules/ktai/page/h_anatani_c_commu_member_confirm_list.php

    r8945 r9295  
    3030        $page += $direc;
    3131        //ターゲットの詳細なリスト
    32         $list = db_ktai_commu_anatani_c_commu_member_confirm_list4c_member_id($u, $page_size, $page);
    33         $total_num = db_count_c_anatani_c_commu_member_confirm($u);
     32        $list = db_commu_ktai_anatani_c_commu_member_confirm_list4c_member_id($u, $page_size, $page);
     33        $total_num = db_commu_count_c_anatani_c_commu_member_confirm($u);
    3434        $this->set("anatani_c_commu_member_confirm_list", $list[0]);
    3535        $this->set("page", $page);
  • OpenPNE/branches/stable-2.12.x/webapp/modules/ktai/page/h_anatani_c_commu_sub_admin_confirm_list.php

    r8945 r9295  
    3030        $page += $direc;
    3131        //ターゲットの詳細なリスト
    32         $list = db_ktai_commu_anatani_c_commu_sub_admin_confirm_list4c_member_id($u, $page_size, $page);
    33         $total_num = db_count_c_anatani_c_commu_sub_admin_confirm($u);
     32        $list = db_commu_ktai_anatani_c_commu_sub_admin_confirm_list4c_member_id($u, $page_size, $page);
     33        $total_num = db_commu_count_c_anatani_c_commu_sub_admin_confirm($u);
    3434        $this->set("anatani_c_commu_sub_admin_confirm_list", $list[0]);
    3535        $this->set("page", $page);
  • OpenPNE/branches/stable-2.12.x/webapp/modules/ktai/page/h_anatani_c_friend_confirm_list.php

    r8945 r9295  
    3030        //ターゲットの詳細なリスト
    3131        $list = db_friend_ktai_anatani_c_friend_confirm_list4c_member_id($u, $page_size, $page);
    32         $total_num = db_count_c_anatani_friend_confirm($u);
     32        $total_num = db_friend_count_c_anatani_friend_confirm($u);
    3333        $this->set("c_friend_confirm_list", $list[0]);
    3434        $this->set("page", $page);
  • OpenPNE/branches/stable-2.12.x/webapp/modules/ktai/page/h_confirm_list.php

    r8945 r9295  
    1212
    1313        //あなたにフレンド認証を求めいるメンバーリストの数
    14         $num_from_f_confirm_list = db_count_c_anatani_friend_confirm($u);
     14        $num_from_f_confirm_list = db_friend_count_c_anatani_friend_confirm($u);
    1515        $this->set("num_from_f_confirm_list", $num_from_f_confirm_list);
    1616
    1717        //コミュニティ承認を求めているメンバーの数
    18         $num_from_h_confirm_list = db_count_c_anatani_c_commu_member_confirm($u);
     18        $num_from_h_confirm_list = db_commu_count_c_anatani_c_commu_member_confirm($u);
    1919        $this->set("num_from_h_confirm_list", $num_from_h_confirm_list);
    2020
    2121        //あなたにコミュニティ管理者交代を希望しているメンバーの数
    22         $num_from_c_commu_admin_confirm_list = db_count_c_anatani_c_commu_admin_confirm($u);
     22        $num_from_c_commu_admin_confirm_list = db_commu_count_c_anatani_c_commu_admin_confirm($u);
    2323        $this->set("num_from_c_commu_admin_confirm_list", $num_from_c_commu_admin_confirm_list);
    2424
    2525        //あなたにコミュニティ副管理者を希望しているメンバーの数
    26         $num_from_c_commu_sub_admin_confirm_list = db_count_c_anatani_c_commu_sub_admin_confirm($u);
     26        $num_from_c_commu_sub_admin_confirm_list = db_commu_count_c_anatani_c_commu_sub_admin_confirm($u);
    2727        $this->set("num_from_c_commu_sub_admin_confirm_list", $num_from_c_commu_sub_admin_confirm_list);
    2828
    2929        //あなたがリンク要請中の数
    30         $num_to_f_confirm_list = db_count_c_anataga_friend_confirm($u);
     30        $num_to_f_confirm_list = db_friend_count_c_anataga_friend_confirm($u);
    3131        $this->set("num_to_f_confirm_list", $num_to_f_confirm_list);
    3232
    3333        //参加要請中のコミュニティの数
    34         $num_to_h_confirm_list = db_count_c_anataga_c_commu_member_confirm($u);
     34        $num_to_h_confirm_list = db_commu_count_c_anataga_c_commu_member_confirm($u);
    3535        $this->set("num_to_h_confirm_list", $num_to_h_confirm_list);
    3636
    3737        //あなたがコミュニティ管理者交代を要請しているメンバーの数
    38         $num_to_c_commu_admin_confirm_list = db_count_c_anataga_c_commu_admin_confirm($u);
     38        $num_to_c_commu_admin_confirm_list = db_commu_count_c_anataga_c_commu_admin_confirm($u);
    3939        $this->set("num_to_c_commu_admin_confirm_list", $num_to_c_commu_admin_confirm_list);
    4040
    4141        //あなたがコミュニティ副管理者を要請しているメンバーの数
    42         $num_to_c_commu_sub_admin_confirm_list = db_count_c_anataga_c_commu_sub_admin_confirm($u);
     42        $num_to_c_commu_sub_admin_confirm_list = db_commu_count_c_anataga_c_commu_sub_admin_confirm($u);
    4343        $this->set("num_to_c_commu_sub_admin_confirm_list", $num_to_c_commu_sub_admin_confirm_list);
    4444
Note: See TracChangeset for help on using the changeset viewer.