PHP Класс yii2fullcalendar\models\Event

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

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

Свойство Тип Описание
$allDay boolean If this value is not explicitly specified, allDayDefault will be used if it is defined. If all else fails, FullCalendar will try to guess. If either the start or end value has a "T" as part of the ISO8601 date string, allDay will become false. Otherwise, it will be true. Don't include quotes around your true/false. This value is a boolean, not a string!
$backgroundColor [type] Sets an event's background color just like the calendar-wide eventBackgroundColor option.
$borderColor [type] Sets an event's border color just like the the calendar-wide eventBorderColor option.
$className [type] A CSS class (or array of classes) that will be attached to this event's element.
$color [type] Sets an event's background and border color just like the calendar-wide eventColor option.
$description string The description text for an event
$dow array Day of Week settings for repeating events. Enter the numerical days of the week ex. [1,4] would repeat on Monday and Thursday.
$durationEditable [type] Overrides the master eventDurationEditable option for this single event.
$editable boolean Overrides the master editable option for this single event.
$end datetime A Moment-ish input, like an ISO8601 string. Throughout the API this will become a real Moment object. It is the moment immediately after the event has ended. For example, if the last full day of an event is Thursday, the exclusive end of the event will be 00:00:00 on Friday!
$id integer the id of the shown event
$ranges range Used with a function to check the dates in eventRender against the range and only render the dates that fall within the range.
$resourceId the unique resource for the event
$source [type] A reference to the event source that this event came from.
$start datetime A Moment-ish input, like an ISO8601 string. Throughout the API this will become a real Moment object.
$startEditable [type] Overrides the master eventStartEditable option for this single event.
$textColor [type] Sets an event's text color just like the calendar-wide eventTextColor option.
$title string The text on an event's element
$url [type] A URL that will be visited when this event is clicked by the user. For more information on controlling this behavior, see the eventClick callback.

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

Метод Описание
rules ( )

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

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

public rules ( )

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

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

If this value is not explicitly specified, allDayDefault will be used if it is defined. If all else fails, FullCalendar will try to guess. If either the start or end value has a "T" as part of the ISO8601 date string, allDay will become false. Otherwise, it will be true. Don't include quotes around your true/false. This value is a boolean, not a string!
public bool $allDay
Результат boolean

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

Sets an event's background color just like the calendar-wide eventBackgroundColor option.
public [type] $backgroundColor
Результат [type]

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

Sets an event's border color just like the the calendar-wide eventBorderColor option.
public [type] $borderColor
Результат [type]

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

A CSS class (or array of classes) that will be attached to this event's element.
public [type] $className
Результат [type]

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

Sets an event's background and border color just like the calendar-wide eventColor option.
public [type] $color
Результат [type]

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

The description text for an event
public string $description
Результат string

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

Day of Week settings for repeating events. Enter the numerical days of the week ex. [1,4] would repeat on Monday and Thursday.
public array $dow
Результат array

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

Overrides the master eventDurationEditable option for this single event.
public [type] $durationEditable
Результат [type]

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

Overrides the master editable option for this single event.
public bool $editable
Результат boolean

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

A Moment-ish input, like an ISO8601 string. Throughout the API this will become a real Moment object. It is the moment immediately after the event has ended. For example, if the last full day of an event is Thursday, the exclusive end of the event will be 00:00:00 on Friday!
public datetime $end
Результат datetime

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

the id of the shown event
public int $id
Результат integer

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

Used with a function to check the dates in eventRender against the range and only render the dates that fall within the range.
public range $ranges
Результат range

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

the unique resource for the event
public $resourceId

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

A reference to the event source that this event came from.
public [type] $source
Результат [type]

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

A Moment-ish input, like an ISO8601 string. Throughout the API this will become a real Moment object.
public datetime $start
Результат datetime

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

Overrides the master eventStartEditable option for this single event.
public [type] $startEditable
Результат [type]

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

Sets an event's text color just like the calendar-wide eventTextColor option.
public [type] $textColor
Результат [type]

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

The text on an event's element
public string $title
Результат string

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

A URL that will be visited when this event is clicked by the user. For more information on controlling this behavior, see the eventClick callback.
public [type] $url
Результат [type]