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/mail/LC_Page_Admin_Mail_History.php

    r21693 r21743  
    6868     */ 
    6969    function action() { 
    70         // フックポイント. 
    71         $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 
    72         $objPlugin->doAction('LC_Page_Admin_Mail_History_action_before', array($this)); 
    7370 
    7471        switch ($this->getMode()) { 
     
    7774                    // 削除時 
    7875                    $this->lfDeleteHistory($_GET['send_id']); 
    79  
    80                     // フックポイント. 
    81                     $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 
    82                     $objPlugin->doAction('LC_Page_Admin_Mail_History_action_delete', array($this)); 
    8376 
    8477                    $this->objDisplay->reload(null, true); 
     
    9184        list($this->tpl_linemax, $this->arrDataList, $this->arrPagenavi) = $this->lfDoSearch($_POST['search_pageno']); 
    9285 
    93         // フックポイント. 
    94         $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->plugin_activate_flg); 
    95         $objPlugin->doAction('LC_Page_Admin_Mail_History_action_after', array($this)); 
    9686    } 
    9787 
     
    10797    /** 
    10898     * 実行履歴の取得 
    109      *  
     99     * 
    110100     * @param integer $search_pageno 表示したいページ番号 
    111101     * @return array( integer 全体件数, mixed メール配信データ一覧配列, mixed SC_PageNaviオブジェクト) 
     
    117107            $search_pageno = 1; 
    118108        } 
    119         //  
     109        // 
    120110        $objSelect =& SC_Query_Ex::getSingletonInstance();    // 一覧データ取得用 
    121111        $objQuery =& SC_Query_Ex::getSingletonInstance();    // 件数取得用 
     
    151141     */ 
    152142    function lfDeleteHistory($send_id) { 
    153             $objQuery =& SC_Query_Ex::getSingletonInstance();  
     143            $objQuery =& SC_Query_Ex::getSingletonInstance(); 
    154144            $objQuery->update('dtb_send_history', 
    155145                              array('del_flg' =>1), 
Note: See TracChangeset for help on using the changeset viewer.