PHP 클래스 CreateEventControllerBehavior

(C) OpenEyes Foundation, 2016 This file is part of OpenEyes. OpenEyes is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. OpenEyes is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenEyes in a file titled COPYING. If not, see .
저자: OpenEyes ([email protected])
상속: extends CBehavior
파일 보기 프로젝트 열기: openeyes/openeyes

보호된 프로퍼티들

프로퍼티 타입 설명
$current_episode

공개 메소드들

메소드 설명
getCreateArgsForEventTypeOprn ( $event_type ) : array Supports the more complex RBAC rules for newer event types by providing a structure for specifying the operation and arguments that should be used to check create access for an event.
getOwnerCurrentEpisode ( ) : array | mixed | null | void Caching wrapper for the current episode lookup

메소드 상세

getCreateArgsForEventTypeOprn() 공개 메소드

It's not necessary to replicate this for editing at the moment, as all editing routes are reached through the relevant module controllers for any given event type.
public getCreateArgsForEventTypeOprn ( $event_type ) : array
$event_type
리턴 array

getOwnerCurrentEpisode() 공개 메소드

Caching wrapper for the current episode lookup
public getOwnerCurrentEpisode ( ) : array | mixed | null | void
리턴 array | mixed | null | void

프로퍼티 상세

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

protected $current_episode