PHP 트레잇 CRUD\Controller\ControllerTrait

Licensed under The MIT License For full copyright and license information, please see the LICENSE.txt
파일 보기 프로젝트 열기: friendsofcake/crud

공개 프로퍼티들

프로퍼티 타입 설명
$dispatchComponents array List of components that are capable of dispatching an action that is not already implemented

공개 메소드들

메소드 설명
invokeAction ( ) : mixed Dispatches the controller action. Checks that the action exists and isn't private.
isAction ( string $action ) : boolean Return true for a mapped action so that AuthComponent doesn't skip authentication / authorization for that action.

보호된 메소드들

메소드 설명
_isActionMapped ( ) : boolean | Component Check if an action can be dispatched using CRUD.

메소드 상세

_isActionMapped() 보호된 메소드

Check if an action can be dispatched using CRUD.
protected _isActionMapped ( ) : boolean | Component
리턴 boolean | Cake\Controller\Component The component instance if action is mapped else `false`.

invokeAction() 공개 메소드

If CakePHP raises MissingActionException we attempt to execute Crud
public invokeAction ( ) : mixed
리턴 mixed The resulting response.

isAction() 공개 메소드

Return true for a mapped action so that AuthComponent doesn't skip authentication / authorization for that action.
public isAction ( string $action ) : boolean
$action string Action name
리턴 boolean True is action is mapped and enabled.

프로퍼티 상세

$dispatchComponents 공개적으로 프로퍼티

List of components that are capable of dispatching an action that is not already implemented
public array $dispatchComponents
리턴 array