Cheetah
Public Member Functions | Public Attributes | List of all members
ChWsbTextCalendar Class Reference
Inheritance diagram for ChWsbTextCalendar:
ChTemplCalendar ChBaseCalendar ChWsbCalendar ChArlCalendar ChNewsCalendar

Public Member Functions

 __construct ($iYear, $iMonth, &$oDb, &$oConfig)
 
 getData ()
 
 getUnit (&$aData)
 
 getBaseUri ()
 
 getBrowseUri ()
 
 getEntriesNames ()
 
 getMonthUrl ($isNextMoths, $isMiniMode=false)
 
 setBlockId ($iBlockID)
 
 setDynamicUrl ($s)
 
- Public Member Functions inherited from ChTemplCalendar
 __construct ($iYear, $iMonth)
 
 __construct ($iYear, $iMonth)
 
 __construct ($iYear, $iMonth)
 
- Public Member Functions inherited from ChBaseCalendar
 display ($isMiniMode=false)
 
- Public Member Functions inherited from ChWsbCalendar
 _getWeekNames ($isMiniMode=false)
 
 _getCalendarGrid (&$aCalendarGrid)
 
 _getCalendar ()
 
 getTitle ()
 

Public Attributes

 $_oDb
 
 $_oConfig
 
 $sCssPrefix
 
 $iBlockID = 0
 
 $sDynamicUrl = ''
 
- Public Attributes inherited from ChWsbCalendar
 $iYear
 
 $iMonth
 
 $iPrevYear
 
 $iPrevMonth
 
 $iNextYear
 
 $iNextMonth
 
 $iFirstWeekDay
 
 $iNumDaysInMonth
 
 $sMonthName
 
 $iWeekStart
 
 $iWeekEnd
 

Detailed Description

Definition at line 10 of file ChWsbTextCalendar.php.

Constructor & Destructor Documentation

◆ __construct()

ChWsbTextCalendar::__construct (   $iYear,
  $iMonth,
$oDb,
$oConfig 
)

Reimplemented in ChNewsCalendar, and ChArlCalendar.

Definition at line 19 of file ChWsbTextCalendar.php.

Member Function Documentation

◆ getBaseUri()

ChWsbTextCalendar::getBaseUri ( )

return base calendar url

Reimplemented from ChWsbCalendar.

Definition at line 48 of file ChWsbTextCalendar.php.

◆ getBrowseUri()

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.

◆ getData()

ChWsbTextCalendar::getData ( )

return records for current month

Reimplemented from ChWsbCalendar.

Definition at line 31 of file ChWsbTextCalendar.php.

◆ getEntriesNames()

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.

◆ getMonthUrl()

ChWsbTextCalendar::getMonthUrl (   $isNextMoths,
  $isMiniMode = false 
)

return url for previous/next month

Reimplemented from ChWsbCalendar.

Definition at line 64 of file ChWsbTextCalendar.php.

◆ getUnit()

ChWsbTextCalendar::getUnit ( $aData)

return html for data unit for some day.

Reimplemented from ChWsbCalendar.

Definition at line 39 of file ChWsbTextCalendar.php.

◆ setBlockId()

ChWsbTextCalendar::setBlockId (   $iBlockID)

Definition at line 72 of file ChWsbTextCalendar.php.

◆ setDynamicUrl()

ChWsbTextCalendar::setDynamicUrl (   $s)

Definition at line 77 of file ChWsbTextCalendar.php.

Member Data Documentation

◆ $_oConfig

ChWsbTextCalendar::$_oConfig

Definition at line 13 of file ChWsbTextCalendar.php.

◆ $_oDb

ChWsbTextCalendar::$_oDb

Definition at line 12 of file ChWsbTextCalendar.php.

◆ $iBlockID

ChWsbTextCalendar::$iBlockID = 0

Definition at line 16 of file ChWsbTextCalendar.php.

◆ $sCssPrefix

ChWsbTextCalendar::$sCssPrefix

Definition at line 14 of file ChWsbTextCalendar.php.

◆ $sDynamicUrl

ChWsbTextCalendar::$sDynamicUrl = ''

Definition at line 17 of file ChWsbTextCalendar.php.


The documentation for this class was generated from the following file: