- Timestamp:
- 2013/08/26 15:52:37 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_13_0/data/class/pages/admin/total/LC_Page_Admin_Total.php
r22928 r23126 37 37 * @return void 38 38 */ 39 function init()39 public function init() 40 40 { 41 41 parent::init(); … … 88 88 * @return void 89 89 */ 90 function process()90 public function process() 91 91 { 92 92 $this->action(); … … 99 99 * @return void 100 100 */ 101 function action()101 public function action() 102 102 { 103 103 if (isset($_GET['draw_image']) && $_GET['draw_image'] != '') { … … 162 162 163 163 /* デフォルト値の取得 */ 164 function lfGetDateDefault()164 public function lfGetDateDefault() 165 165 { 166 166 $year = date('Y'); … … 190 190 191 191 /* パラメーター情報の初期化 */ 192 function lfInitParam(&$objFormParam)192 public function lfInitParam(&$objFormParam) 193 193 { 194 194 // デフォルト値の取得 … … 214 214 215 215 /* 入力内容のチェック */ 216 function lfCheckError(&$objFormParam)216 public function lfCheckError(&$objFormParam) 217 217 { 218 218 $objFormParam->convParam(); … … 240 240 241 241 /* サブナビを移動しても日付が残るようにセッションに入力期間を記録する */ 242 function lfSaveDateSession($session, $arrForm)242 public function lfSaveDateSession($session, $arrForm) 243 243 { 244 244 // session の初期化をする … … 255 255 256 256 /* 日付の初期値 */ 257 function lfGetDateInit()257 public function lfGetDateInit() 258 258 { 259 259 $search_startyear_m = $search_startyear = $search_endyear = date('Y'); … … 265 265 266 266 /* フォームで入力された日付を適切な形にする */ 267 function lfSetStartEndDate(&$objFormParam)267 public function lfSetStartEndDate(&$objFormParam) 268 268 { 269 269 $arrRet = $objFormParam->getHashArray(); … … 285 285 286 286 /* 折れ線グラフの作成 */ 287 function lfGetGraphLine($arrResults, $keyname, $type, $xtitle, $ytitle, $sdate, $edate, $xincline)287 public function lfGetGraphLine($arrResults, $keyname, $type, $xtitle, $ytitle, $sdate, $edate, $xincline) 288 288 { 289 289 $ret_path = ''; … … 343 343 344 344 // 円グラフの作成 345 function lfGetGraphPie($arrResults, $keyname, $type, $title = '', $sdate = '', $edate = '')345 public function lfGetGraphPie($arrResults, $keyname, $type, $title = '', $sdate = '', $edate = '') 346 346 { 347 347 $ret_path = ''; … … 388 388 389 389 // 棒グラフの作成 390 function lfGetGraphBar($arrResults, $keyname, $type, $xtitle, $ytitle, $sdate, $edate)390 public function lfGetGraphBar($arrResults, $keyname, $type, $xtitle, $ytitle, $sdate, $edate) 391 391 { 392 392 $ret_path = ''; … … 436 436 437 437 // グラフ用のPNGファイル名 438 function lfGetGraphPng($keyname)438 public function lfGetGraphPng($keyname) 439 439 { 440 440 if ($_POST['search_startyear_m'] != '') { … … 448 448 449 449 // 会員、非会員集計の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') 451 451 { 452 452 $where = ''; … … 492 492 493 493 /** 会員別集計 **/ 494 function lfGetOrderMember($type, $sdate, $edate)494 public function lfGetOrderMember($type, $sdate, $edate) 495 495 { 496 496 $objQuery = SC_Query_Ex::getSingletonInstance(); … … 534 534 535 535 /** 商品別集計 **/ 536 function lfGetOrderProducts($type, $sdate, $edate)536 public function lfGetOrderProducts($type, $sdate, $edate) 537 537 { 538 538 $objQuery = SC_Query_Ex::getSingletonInstance(); … … 572 572 573 573 /** 職業別集計 **/ 574 function lfGetOrderJob($type, $sdate, $edate)574 public function lfGetOrderJob($type, $sdate, $edate) 575 575 { 576 576 $objQuery = SC_Query_Ex::getSingletonInstance(); … … 609 609 610 610 /** 年代別集計 **/ 611 function lfGetOrderAge($type, $sdate, $edate)611 public function lfGetOrderAge($type, $sdate, $edate) 612 612 { 613 613 $objQuery = SC_Query_Ex::getSingletonInstance(); … … 647 647 /** 期間別集計 **/ 648 648 // todo あいだの日付埋める 649 function lfGetOrderTerm($type, $sdate, $edate)649 public function lfGetOrderTerm($type, $sdate, $edate) 650 650 { 651 651 $objQuery = SC_Query_Ex::getSingletonInstance(); … … 704 704 * 期間中の日付を埋める 705 705 */ 706 function lfAddBlankLine($arrResults, $type, $st, $ed)706 public function lfAddBlankLine($arrResults, $type, $st, $ed) 707 707 { 708 708 $arrDateList = $this->lfDateTimeArray($type, $st, $ed); … … 728 728 * 729 729 */ 730 function lfDateTimeArray($type, $st, $ed)730 public function lfDateTimeArray($type, $st, $ed) 731 731 { 732 732 switch ($type) { … … 770 770 * 合計を付与する 771 771 */ 772 function lfAddTotalLine($arrResults)772 public function lfAddTotalLine($arrResults) 773 773 { 774 774 // 検索結果が0でない場合 … … 789 789 790 790 // 必要なカラムのみ抽出する(CSVデータで取得する) 791 function lfGetDataColCSV($arrData, $arrDataCol)791 public function lfGetDataColCSV($arrData, $arrDataCol) 792 792 { 793 793 $max = count($arrData); … … 807 807 } 808 808 809 function lfGetCSVColum($page)809 public function lfGetCSVColum($page) 810 810 { 811 811 switch ($page) {
Note: See TracChangeset
for help on using the changeset viewer.