modules/Calendar/CalendarGrid.php
\CalendarGrid
Package:
Properties
Methods
get_basic_cell(
integer $start, integer $height
=
80, $suffix
=
""
)
:
string
Get html of basic cell
Parameters
Returns
Name | Type | Description |
---|---|---|
$start | integer | timestamp |
$height | integer | slot height |
$suffix |
Type | Description |
---|---|
string |
get_basic_row(
integer $start, $cols
=
7, $suffix
=
""
)
:
string
Get html of basic week grid
Parameters
Returns
Name | Type | Description |
---|---|---|
$start | integer | timestamp |
$cols | ||
$suffix |
Type | Description |
---|---|
string |
get_day_column(
integer $start, integer $day
=
0, string $suffix
=
""
)
:
string
Get html of day slots column
Parameters
Returns
Name | Type | Description |
---|---|---|
$start | integer | timestamp |
$day | integer | number of day in week |
$suffix | string | suffix for id of time slot used in shared view |
Type | Description |
---|---|
string |
get_day_head(
integer $start, integer $day
=
0, \bulean $force
=
false
)
:
string
Get html of day head
Parameters
Returns
Name | Type | Description |
---|---|---|
$start | integer | timestamp |
$day | integer | number of day in week |
$force | \bulean | force display header |
Type | Description |
---|---|
string |