Smart.Framework and Smart.Framework.Modules : PHP Documentation
☰
final class \ SmartHTMLCalendar
{
} ->
Language: PHP
Located at: modules/smart-extra-libs/lib_calendar.php
Package: Plugins:ViewComponents
Namespace: \
Class Name: SmartHTMLCalendar
Version: v.20221220
Depends: classes: Smart
Usage: dynamic object: (new Class())->method() - This class provides only DYNAMIC methods
public function __construct (
$date_string ,
$highlight_selected = false ,
$width = "" ,
$css_class = ""
) {} @
public function isMobile (
$is_mobile
) {} ->
public function setMonthNames (
$y_month_names_arr
) {} ->
public function setDayNames (
$y_day_names_arr
) {} ->
public function addDayEvent (
string $html ,
string $start_date_string ,
bool|string $end_date_string =
false
) {}
-> VOID
@return: {void}
@param: {string} $html: The raw HTML to place on the calendar for this event
@param: {string} $start_date_string: Date string for when the event starts
@param: {bool|string} $end_date_string: Date string for when the event ends. Defaults to start date
public function clearDayEvents (
) {}
-> VOID
@return: {void}
public function setStartOfWeek (
int|string $offset
) {}
->
@param: {int|string} $offset: Day to start on, ex: "Monday" or 0-6 where 0 is Sunday
public function draw (
) {}
-> STRING
@return: {string}
@param: {bool} $echo: Whether to echo resulting calendar
* PHP Class \SmartHTMLCalendar # Documentation Index *
Class definition
Methods list
· function __construct()
· function isMobile()
· function setMonthNames()
· function setDayNames()
· function addDayEvent()
· function clearDayEvents()
· function setStartOfWeek()
· function draw()
Properties list
Constants list
documentation generated on: 2023-10-19 23:15:58 +0000
Smart.Framework © 2009-2023 unix-world.org