PHP Класс yii2fullcalendar\yii2fullcalendar

Наследование: extends yii\base\Widget
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$ajaxEvents Will hold an url to json formatted events!
$clientOptions clientOptions the HTML attributes for the widget container tag.
$defaultView defaultView will define which view renderer will initially be used for displaying calendar events
$eventAfterAllRender The javascript function to us as en eventAfterAllRender callback
$eventAfterRender The javascript function to us as en eventAfterRender callback
$eventClick A js callback that triggered when the user clicks an event.
$eventDrop The javascript function to us as en eventDrop callback
$eventRender The javascript function to us as en eventRender callback
$events Holds an array of Event Objects
$googleCalendar boolean tell the calendar, if you like to render google calendar events within the view
$header Define the look n feel for the calendar header, known placeholders are left, center, right
$loading string the text that will be displayed on changing the pages
$options options the HTML attributes (name-value pairs) for the field container tag. The values will be HTML-encoded using [[Html::encode()]]. If a value is null, the corresponding attribute will not be rendered.
$select A js callback that will fire after a selection is made.
$theme boolean default is true and will render the jui theme for the calendar

Открытые методы

Метод Описание
init ( ) Initializes the widget.
run ( ) Renders the widget.

Защищенные методы

Метод Описание
getClientOptions ( ) : array
registerPlugin ( ) Registers the FullCalendar javascript assets and builds the requiered js for the widget and the related events

Описание методов

getClientOptions() защищенный Метод

protected getClientOptions ( ) : array
Результат array the options for the text field

init() публичный Метод

If you override this method, make sure you call the parent implementation first.
public init ( )

registerPlugin() защищенный Метод

Registers the FullCalendar javascript assets and builds the requiered js for the widget and the related events
protected registerPlugin ( )

run() публичный Метод

Renders the widget.
public run ( )

Описание свойств

$ajaxEvents публичное свойство

Will hold an url to json formatted events!
public $ajaxEvents

$clientOptions публичное свойство

clientOptions the HTML attributes for the widget container tag.
public $clientOptions

$defaultView публичное свойство

defaultView will define which view renderer will initially be used for displaying calendar events
public $defaultView

$eventAfterAllRender публичное свойство

The javascript function to us as en eventAfterAllRender callback
public $eventAfterAllRender

$eventAfterRender публичное свойство

The javascript function to us as en eventAfterRender callback
public $eventAfterRender

$eventClick публичное свойство

A js callback that triggered when the user clicks an event.
public $eventClick

$eventDrop публичное свойство

The javascript function to us as en eventDrop callback
public $eventDrop

$eventRender публичное свойство

The javascript function to us as en eventRender callback
public $eventRender

$events публичное свойство

Holds an array of Event Objects
public $events

$googleCalendar публичное свойство

tell the calendar, if you like to render google calendar events within the view
public bool $googleCalendar
Результат boolean

$header публичное свойство

Define the look n feel for the calendar header, known placeholders are left, center, right
public $header

$loading публичное свойство

the text that will be displayed on changing the pages
public string $loading
Результат string

$options публичное свойство

options the HTML attributes (name-value pairs) for the field container tag. The values will be HTML-encoded using [[Html::encode()]]. If a value is null, the corresponding attribute will not be rendered.
public $options

$select публичное свойство

A js callback that will fire after a selection is made.
public $select

$theme публичное свойство

default is true and will render the jui theme for the calendar
public bool $theme
Результат boolean