Changeset 22567 for branches/version-2_12-dev/data/class/pages/frontparts/bloc/LC_Page_FrontParts_Bloc_Calendar.php
- Timestamp:
- 2013/02/18 19:09:54 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/pages/frontparts/bloc/LC_Page_FrontParts_Bloc_Calendar.php
r22206 r22567 33 33 * @version $ $ 34 34 */ 35 class LC_Page_FrontParts_Bloc_Calendar extends LC_Page_FrontParts_Bloc_Ex { 35 class LC_Page_FrontParts_Bloc_Calendar extends LC_Page_FrontParts_Bloc_Ex 36 { 36 37 37 38 // }}} … … 43 44 * @return void 44 45 */ 45 function init() { 46 function init() 47 { 46 48 parent::init(); 47 49 } … … 52 54 * @return void 53 55 */ 54 function process() { 56 function process() 57 { 55 58 $this->action(); 56 59 $this->sendResponse(); … … 62 65 * @return void 63 66 */ 64 function action() { 67 function action() 68 { 65 69 66 70 // 休日取得取得 … … 79 83 * @return void 80 84 */ 81 function destroy() { 85 function destroy() 86 { 82 87 parent::destroy(); 83 88 } … … 89 94 * @return array カレンダー情報の配列を返す 90 95 */ 91 function lfGetCalendar($disp_month = 1) { 96 function lfGetCalendar($disp_month = 1) 97 { 92 98 $arrCalendar = array(); 93 99 $today = date('Y/m/d'); … … 124 130 * @return array $arrHoliday 休日情報の配列を返す 125 131 */ 126 function lfGetHoliday() { 132 function lfGetHoliday() 133 { 127 134 $objQuery = SC_Query_Ex::getSingletonInstance(); 128 135 $objQuery->setOrder('rank DESC'); … … 141 148 * @return array $arrRegularHoliday 定休日情報の配列を返す 142 149 */ 143 function lfGetRegularHoliday() { 150 function lfGetRegularHoliday() 151 { 144 152 $arrInfo = SC_Helper_DB_Ex::sfGetBasisData(); 145 153 $arrRegularHoliday = explode('|', $arrInfo['regular_holiday_ids']); … … 155 163 * @return boolean 休日の場合trueを返す 156 164 */ 157 function lfCheckHoliday($year, $month, $day) { 165 function lfCheckHoliday($year, $month, $day) 166 { 158 167 if (!empty($this->arrHoliday[$month])) { 159 168 if (in_array($day, $this->arrHoliday[$month])) {
Note: See TracChangeset
for help on using the changeset viewer.