PHP 클래스 Spatie\GoogleCalendar\Event

파일 보기 프로젝트 열기: spatie/laravel-google-calendar 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$googleEvent Google_Service_Calendar_Event

보호된 프로퍼티들

프로퍼티 타입 설명
$calendarId integer

공개 메소드들

메소드 설명
__construct ( )
__get ( string $name ) : mixed
__set ( $name, $value )
create ( array $properties, string $calendarId = null )
createFromGoogleCalendarEvent ( Google_Service_Calendar_Event $googleEvent, $calendarId )
delete ( string $eventId = null )
exists ( ) : boolean
find ( string $eventId, string $calendarId = null ) : Event
get ( Carbon\Carbon $startDateTime = null, Carbon\Carbon $endDateTime = null, array $queryParameters = [], string $calendarId = null ) : Collection
getSortDate ( ) : string
isAllDayEvent ( ) : boolean
save ( $method = null ) : Event

보호된 메소드들

메소드 설명
getFieldName ( string $name ) : string
getGoogleCalendar ( string $calendarId = null ) : GoogleCalendar
setDateProperty ( string $name, Carbon\Carbon $date )

메소드 상세

__construct() 공개 메소드

public __construct ( )

__get() 공개 메소드

public __get ( string $name ) : mixed
$name string
리턴 mixed

__set() 공개 메소드

public __set ( $name, $value )

create() 공개 정적인 메소드

public static create ( array $properties, string $calendarId = null )
$properties array
$calendarId string

createFromGoogleCalendarEvent() 공개 정적인 메소드

public static createFromGoogleCalendarEvent ( Google_Service_Calendar_Event $googleEvent, $calendarId )
$googleEvent Google_Service_Calendar_Event

delete() 공개 메소드

public delete ( string $eventId = null )
$eventId string

exists() 공개 메소드

public exists ( ) : boolean
리턴 boolean

find() 공개 정적인 메소드

public static find ( string $eventId, string $calendarId = null ) : Event
$eventId string
$calendarId string
리턴 Event

get() 공개 정적인 메소드

public static get ( Carbon\Carbon $startDateTime = null, Carbon\Carbon $endDateTime = null, array $queryParameters = [], string $calendarId = null ) : Collection
$startDateTime Carbon\Carbon
$endDateTime Carbon\Carbon
$queryParameters array
$calendarId string
리턴 Illuminate\Support\Collection

getFieldName() 보호된 메소드

protected getFieldName ( string $name ) : string
$name string
리턴 string

getGoogleCalendar() 보호된 정적인 메소드

protected static getGoogleCalendar ( string $calendarId = null ) : GoogleCalendar
$calendarId string
리턴 GoogleCalendar

getSortDate() 공개 메소드

public getSortDate ( ) : string
리턴 string

isAllDayEvent() 공개 메소드

public isAllDayEvent ( ) : boolean
리턴 boolean

save() 공개 메소드

public save ( $method = null ) : Event
리턴 Event

setDateProperty() 보호된 메소드

protected setDateProperty ( string $name, Carbon\Carbon $date )
$name string
$date Carbon\Carbon

프로퍼티 상세

$calendarId 보호되어 있는 프로퍼티

protected int $calendarId
리턴 integer

$googleEvent 공개적으로 프로퍼티

public Google_Service_Calendar_Event $googleEvent
리턴 Google_Service_Calendar_Event