PHP 클래스 Crud\Action\DeleteAction

Licensed under The MIT License For full copyright and license information, please see the LICENSE.txt
상속: extends BaseAction, use trait Crud\Traits\FindMethodTrait, use trait Crud\Traits\RedirectTrait
파일 보기 프로젝트 열기: friendsofcake/crud

보호된 프로퍼티들

프로퍼티 타입 설명
$_defaultConfig array enabled Is this crud action enabled or disabled findMethod The default Model::find() method for reading data

보호된 메소드들

메소드 설명
_delete ( string | null $id = null ) : Response HTTP DELETE handler
_error ( Crud\Event\Subject $subject ) : void Error callback
_post ( string | null $id = null ) : Response HTTP POST handler
_stopped ( Crud\Event\Subject $subject ) : Response Stopped callback
_success ( Crud\Event\Subject $subject ) : void Success callback

메소드 상세

_delete() 보호된 메소드

HTTP DELETE handler
protected _delete ( string | null $id = null ) : Response
$id string | null Record id
리턴 Cake\Network\Response

_error() 보호된 메소드

Error callback
protected _error ( Crud\Event\Subject $subject ) : void
$subject Crud\Event\Subject Event subject
리턴 void

_post() 보호된 메소드

HTTP POST handler
protected _post ( string | null $id = null ) : Response
$id string | null Record id
리턴 Cake\Network\Response

_stopped() 보호된 메소드

Stopped callback
protected _stopped ( Crud\Event\Subject $subject ) : Response
$subject Crud\Event\Subject Event subject
리턴 Cake\Network\Response

_success() 보호된 메소드

Success callback
protected _success ( Crud\Event\Subject $subject ) : void
$subject Crud\Event\Subject Event subject
리턴 void

프로퍼티 상세

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

enabled Is this crud action enabled or disabled findMethod The default Model::find() method for reading data
protected array $_defaultConfig
리턴 array