EC-CUBE
Public メソッド | 変数
クラス Calendar_Table_Helper

Public メソッド

 Calendar_Table_Helper (&$calendar, $firstDay=null)
 setFirstDay ()
 setDaysOfMonth ()
 getFirstDay ()
 getDaysOfWeek ()
 getNumWeeks ()
 getNumTableDaysInMonth ()
 getEmptyDaysBefore ()
 getEmptyDaysAfter ()
 getEmptyDaysAfterOffset ()
 getWeekStart ($y, $m, $d, $firstDay=1)

変数

 $calendar
 $cE
 $firstDay
 $weekDays
 $daysOfWeek = array()
 $daysOfMonth = array()
 $numWeeks = null
 $emptyBefore = 0

関数

Calendar_Table_Helper ( &$  calendar,
firstDay = null 
)

Constructs Calendar_Table_Helper

引数:
objectCalendar_Month_Weekdays, Calendar_Month_Weeks, Calendar_Week
int(optional) first day of the week e.g. 1 for Monday protected

Returns the order array of days in a week

戻り値:
int protected

Returns the index of the last real day in the month

TODO:
Potential performance optimization with static
戻り値:
int protected

Returns the index of the last real day in the month, relative to the beginning of the tabular week it is part of

戻り値:
int protected

Returns the number of empty days before the real days begin

戻り値:
int protected

Returns the first day of the month

参照:
Calendar_Engine_Interface::getFirstDayOfWeek()
戻り値:
int protected

Returns the number of real days + empty days

戻り値:
int protected

Returns the number of tabular weeks in a month

戻り値:
int protected
getWeekStart ( y,
m,
d,
firstDay = 1 
)

Returns the timestamp of the first day of the current week

Constructs $this->daysOfMonth

戻り値:
void private

Constructs $this->daysOfWeek based on $this->firstDay

戻り値:
void private

このクラスの説明は次のファイルから生成されました:
 全て データ構造 ネームスペース 関数 変数