Ignore:
Timestamp:
2013/08/26 15:52:37 (11 years ago)
Author:
m_uehara
Message:

#2348 r23116 - r23125 をマージ

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13_0/data/class/pages/admin/total/LC_Page_Admin_Total.php

    r22928 r23126  
    3737     * @return void 
    3838     */ 
    39     function init() 
     39    public function init() 
    4040    { 
    4141        parent::init(); 
     
    8888     * @return void 
    8989     */ 
    90     function process() 
     90    public function process() 
    9191    { 
    9292        $this->action(); 
     
    9999     * @return void 
    100100     */ 
    101     function action() 
     101    public function action() 
    102102    { 
    103103        if (isset($_GET['draw_image']) && $_GET['draw_image'] != '') { 
     
    162162 
    163163    /* デフォルト値の取得 */ 
    164     function lfGetDateDefault() 
     164    public function lfGetDateDefault() 
    165165    { 
    166166        $year = date('Y'); 
     
    190190 
    191191    /* パラメーター情報の初期化 */ 
    192     function lfInitParam(&$objFormParam) 
     192    public function lfInitParam(&$objFormParam) 
    193193    { 
    194194        // デフォルト値の取得 
     
    214214 
    215215    /* 入力内容のチェック */ 
    216     function lfCheckError(&$objFormParam) 
     216    public function lfCheckError(&$objFormParam) 
    217217    { 
    218218        $objFormParam->convParam(); 
     
    240240 
    241241    /* サブナビを移動しても日付が残るようにセッションに入力期間を記録する */ 
    242     function lfSaveDateSession($session, $arrForm) 
     242    public function lfSaveDateSession($session, $arrForm) 
    243243    { 
    244244        // session の初期化をする 
     
    255255 
    256256    /* 日付の初期値 */ 
    257     function lfGetDateInit() 
     257    public function lfGetDateInit() 
    258258    { 
    259259        $search_startyear_m     = $search_startyear  = $search_endyear  = date('Y'); 
     
    265265 
    266266    /* フォームで入力された日付を適切な形にする */ 
    267     function lfSetStartEndDate(&$objFormParam) 
     267    public function lfSetStartEndDate(&$objFormParam) 
    268268    { 
    269269        $arrRet = $objFormParam->getHashArray(); 
     
    285285 
    286286    /* 折れ線グラフの作成 */ 
    287     function lfGetGraphLine($arrResults, $keyname, $type, $xtitle, $ytitle, $sdate, $edate, $xincline) 
     287    public function lfGetGraphLine($arrResults, $keyname, $type, $xtitle, $ytitle, $sdate, $edate, $xincline) 
    288288    { 
    289289        $ret_path = ''; 
     
    343343 
    344344    // 円グラフの作成 
    345     function lfGetGraphPie($arrResults, $keyname, $type, $title = '', $sdate = '', $edate = '') 
     345    public function lfGetGraphPie($arrResults, $keyname, $type, $title = '', $sdate = '', $edate = '') 
    346346    { 
    347347        $ret_path = ''; 
     
    388388 
    389389    // 棒グラフの作成 
    390     function lfGetGraphBar($arrResults, $keyname, $type, $xtitle, $ytitle, $sdate, $edate) 
     390    public function lfGetGraphBar($arrResults, $keyname, $type, $xtitle, $ytitle, $sdate, $edate) 
    391391    { 
    392392        $ret_path = ''; 
     
    436436 
    437437    // グラフ用のPNGファイル名 
    438     function lfGetGraphPng($keyname) 
     438    public function lfGetGraphPng($keyname) 
    439439    { 
    440440        if ($_POST['search_startyear_m'] != '') { 
     
    448448 
    449449    // 会員、非会員集計のWHERE分の作成 
    450     function lfGetWhereMember($col_date, $sdate, $edate, $type, $col_member = 'customer_id') 
     450    public function lfGetWhereMember($col_date, $sdate, $edate, $type, $col_member = 'customer_id') 
    451451    { 
    452452        $where = ''; 
     
    492492 
    493493    /** 会員別集計 **/ 
    494     function lfGetOrderMember($type, $sdate, $edate) 
     494    public function lfGetOrderMember($type, $sdate, $edate) 
    495495    { 
    496496        $objQuery = SC_Query_Ex::getSingletonInstance(); 
     
    534534 
    535535    /** 商品別集計 **/ 
    536     function lfGetOrderProducts($type, $sdate, $edate) 
     536    public function lfGetOrderProducts($type, $sdate, $edate) 
    537537    { 
    538538        $objQuery = SC_Query_Ex::getSingletonInstance(); 
     
    572572 
    573573    /** 職業別集計 **/ 
    574     function lfGetOrderJob($type, $sdate, $edate) 
     574    public function lfGetOrderJob($type, $sdate, $edate) 
    575575    { 
    576576        $objQuery = SC_Query_Ex::getSingletonInstance(); 
     
    609609 
    610610    /** 年代別集計 **/ 
    611     function lfGetOrderAge($type, $sdate, $edate) 
     611    public function lfGetOrderAge($type, $sdate, $edate) 
    612612    { 
    613613        $objQuery = SC_Query_Ex::getSingletonInstance(); 
     
    647647    /** 期間別集計 **/ 
    648648    // todo あいだの日付埋める 
    649     function lfGetOrderTerm($type, $sdate, $edate) 
     649    public function lfGetOrderTerm($type, $sdate, $edate) 
    650650    { 
    651651        $objQuery   = SC_Query_Ex::getSingletonInstance(); 
     
    704704     * 期間中の日付を埋める 
    705705     */ 
    706     function lfAddBlankLine($arrResults, $type, $st, $ed) 
     706    public function lfAddBlankLine($arrResults, $type, $st, $ed) 
    707707    { 
    708708        $arrDateList = $this->lfDateTimeArray($type, $st, $ed); 
     
    728728     * 
    729729     */ 
    730     function lfDateTimeArray($type, $st, $ed) 
     730    public function lfDateTimeArray($type, $st, $ed) 
    731731    { 
    732732        switch ($type) { 
     
    770770     * 合計を付与する 
    771771     */ 
    772     function lfAddTotalLine($arrResults) 
     772    public function lfAddTotalLine($arrResults) 
    773773    { 
    774774        // 検索結果が0でない場合 
     
    789789 
    790790    // 必要なカラムのみ抽出する(CSVデータで取得する) 
    791     function lfGetDataColCSV($arrData, $arrDataCol) 
     791    public function lfGetDataColCSV($arrData, $arrDataCol) 
    792792    { 
    793793        $max = count($arrData); 
     
    807807    } 
    808808 
    809     function lfGetCSVColum($page) 
     809    public function lfGetCSVColum($page) 
    810810    { 
    811811        switch ($page) { 
Note: See TracChangeset for help on using the changeset viewer.