Ignore:
Timestamp:
2012/04/15 03:05:06 (12 years ago)
Author:
AMUAMU
Message:

#1754 (exit;を個別の処理でしない) #1692 (プラグイン機能) 各ファイルでフックポイントの呼出を書かないで、自動的にフックポイントを呼び出すように修正。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/pages/admin/basis/LC_Page_Admin_Basis_Payment.php

    r21693 r21743  
    6767     */ 
    6868    function action() { 
    69         // フックポイント. 
    70         $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 
    71         $objPlugin->doAction('LC_Page_Admin_Basis_Payment_action_before', array($this)); 
     69 
    7270        $objDb = new SC_Helper_DB_Ex(); 
    7371 
     
    9290                // ランク付きレコードの削除 
    9391                $objDb->sfDeleteRankRecord('dtb_payment', 'payment_id', $post['payment_id']); 
    94                 // フックポイント. 
    95                 $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 
    96                 $objPlugin->doAction('LC_Page_Admin_Basis_Payment_action_delete', array($this)); 
     92 
    9793                // 再表示 
    9894                $this->objDisplay->reload(); 
     
    10096            case 'up': 
    10197                $objDb->sfRankUp('dtb_payment', 'payment_id', $post['payment_id']); 
    102                 // フックポイント. 
    103                 $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 
    104                 $objPlugin->doAction('LC_Page_Admin_Basis_Payment_action_up', array($this)); 
     98 
    10599                // 再表示 
    106100                $this->objDisplay->reload(); 
     
    108102            case 'down': 
    109103                $objDb->sfRankDown('dtb_payment', 'payment_id', $post['payment_id']); 
    110                 // フックポイント. 
    111                 $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 
    112                 $objPlugin->doAction('LC_Page_Admin_Basis_Payment_action_down', array($this)); 
     104 
    113105                // 再表示 
    114106                $this->objDisplay->reload(); 
     
    118110        $this->arrPaymentListFree = $this->lfGetPaymentList(); 
    119111 
    120         // フックポイント. 
    121         $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 
    122         $objPlugin->doAction('LC_Page_Admin_Basis_Payment_action_after', array($this)); 
    123112    } 
    124113 
Note: See TracChangeset for help on using the changeset viewer.