modules/Calendar/CalendarGrid.php

Show: inherited
Table of Contents

\CalendarGrid

Package:

Properties

Propertyprotected  $cal= ''
Details
Type
n/a
Propertyprotected  $date_time_format= ''
Details
Type
n/a
Propertyprotected  $scroll_height= ''
Details
Type
n/a
Propertyprotected  $scrollable= ''
Details
Type
n/a
Propertyprotected  $startday= ''
Details
Type
n/a
Propertypublic  $style= '""'
Default value""Details
Type
n/a
Propertyprotected  $time_format= ''
Details
Type
n/a
Propertyprotected  $time_step= '30'
Default value30Details
Type
n/a
Propertyprotected  $today_ts= ''
Details
Type
n/a
Propertyprotected  $weekdays= ''
Details
Type
n/a

Methods

methodpublic__construct( \Calendar $cal ) : void

constructor

Parameters
Name Type Description
$cal \Calendar
methodpublicdisplay( ) : string

Get html of calendar grid

Returns
Type Description
string
methodprotecteddisplay_day( ) : string

Get html of day calendar grid

Returns
Type Description
string
methodprotecteddisplay_month( ) : string

Get html of month calendar grid

Returns
Type Description
string
methodprotecteddisplay_shared( ) : string

Get html of week shared grid

Returns
Type Description
string
methodprotecteddisplay_week( ) : string

Get html of week calendar grid

Returns
Type Description
string
methodprotecteddisplay_year( ) : string

Get html of year calendar

Returns
Type Description
string
methodprotectedget_basic_cell( integer $start, integer $height = 80,  $suffix = "" ) : string

Get html of basic cell

Parameters
Name Type Description
$start integer

timestamp

$height integer

slot height

$suffix
Returns
Type Description
string
methodprotectedget_basic_row( integer $start,  $cols = 7,  $suffix = "" ) : string

Get html of basic week grid

Parameters
Name Type Description
$start integer

timestamp

$cols
$suffix
Returns
Type Description
string
methodprotectedget_day_column( integer $start, integer $day = 0, string $suffix = "" ) : string

Get html of day slots column

Parameters
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

Returns
Type Description
string
methodprotectedget_day_head( integer $start, integer $day = 0, \bulean $force = false ) : string

Get html of day head

Parameters
Name Type Description
$start integer

timestamp

$day integer

number of day in week

$force \bulean

force display header

Returns
Type Description
string
methodprotectedget_time_column( integer $start ) : string

Get html of time column

Parameters
Name Type Description
$start integer

timestamp

Returns
Type Description
string
Documentation was generated by DocBlox 0.18.1.