PHP 클래스 yii2fullcalendar\models\Event

상속: extends yii\base\Model
파일 보기 프로젝트 열기: philippfrenzel/yii2fullcalendar

공개 프로퍼티들

프로퍼티 타입 설명
$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]