PHP 클래스 yii2fullcalendar\yii2fullcalendar

상속: extends yii\base\Widget
파일 보기 프로젝트 열기: philippfrenzel/yii2fullcalendar 1 사용 예제들

공개 프로퍼티들

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