Cheetah
|
Public Member Functions | |
__construct ($iYear, $iMonth, &$oDb, &$oConfig) | |
getData () | |
getUnit (&$aData) | |
getBaseUri () | |
getBrowseUri () | |
getEntriesNames () | |
getMonthUrl ($isNextMoths, $isMiniMode=false) | |
setBlockId ($iBlockID) | |
setDynamicUrl ($s) | |
![]() | |
__construct ($iYear, $iMonth) | |
__construct ($iYear, $iMonth) | |
__construct ($iYear, $iMonth) | |
![]() | |
display ($isMiniMode=false) | |
![]() | |
_getWeekNames ($isMiniMode=false) | |
_getCalendarGrid (&$aCalendarGrid) | |
_getCalendar () | |
getTitle () | |
Public Attributes | |
$_oDb | |
$_oConfig | |
$sCssPrefix | |
$iBlockID = 0 | |
$sDynamicUrl = '' | |
![]() | |
$iYear | |
$iMonth | |
$iPrevYear | |
$iPrevMonth | |
$iNextYear | |
$iNextMonth | |
$iFirstWeekDay | |
$iNumDaysInMonth | |
$sMonthName | |
$iWeekStart | |
$iWeekEnd | |
Definition at line 10 of file ChWsbTextCalendar.php.
ChWsbTextCalendar::__construct | ( | $iYear, | |
$iMonth, | |||
& | $oDb, | ||
& | $oConfig | ||
) |
Reimplemented in ChNewsCalendar, and ChArlCalendar.
Definition at line 19 of file ChWsbTextCalendar.php.
ChWsbTextCalendar::getBaseUri | ( | ) |
return base calendar url
Reimplemented from ChWsbCalendar.
Definition at line 48 of file ChWsbTextCalendar.php.
ChWsbTextCalendar::getBrowseUri | ( | ) |
return browse entries url year and month and day will be added to this url automatically so if your base url is /m/some_module/browse/calendar/, it will be transormed to /m/some_module/browse/calendar/YEAR/MONTH/DAY, like /m/some_module/browse/calendar/2009/3/15
Reimplemented from ChWsbCalendar.
Definition at line 53 of file ChWsbTextCalendar.php.
ChWsbTextCalendar::getData | ( | ) |
return records for current month
Reimplemented from ChWsbCalendar.
Definition at line 31 of file ChWsbTextCalendar.php.
ChWsbTextCalendar::getEntriesNames | ( | ) |
return entries names in single and plural forms, for example: ('event', 'events') or ('profile', 'profiles')
Reimplemented from ChWsbCalendar.
Definition at line 58 of file ChWsbTextCalendar.php.
ChWsbTextCalendar::getMonthUrl | ( | $isNextMoths, | |
$isMiniMode = false |
|||
) |
return url for previous/next month
Reimplemented from ChWsbCalendar.
Definition at line 64 of file ChWsbTextCalendar.php.
ChWsbTextCalendar::getUnit | ( | & | $aData | ) |
return html for data unit for some day.
Reimplemented from ChWsbCalendar.
Definition at line 39 of file ChWsbTextCalendar.php.
ChWsbTextCalendar::setBlockId | ( | $iBlockID | ) |
Definition at line 72 of file ChWsbTextCalendar.php.
ChWsbTextCalendar::setDynamicUrl | ( | $s | ) |
Definition at line 77 of file ChWsbTextCalendar.php.
ChWsbTextCalendar::$_oConfig |
Definition at line 13 of file ChWsbTextCalendar.php.
ChWsbTextCalendar::$_oDb |
Definition at line 12 of file ChWsbTextCalendar.php.
ChWsbTextCalendar::$iBlockID = 0 |
Definition at line 16 of file ChWsbTextCalendar.php.
ChWsbTextCalendar::$sCssPrefix |
Definition at line 14 of file ChWsbTextCalendar.php.
ChWsbTextCalendar::$sDynamicUrl = '' |
Definition at line 17 of file ChWsbTextCalendar.php.