PHP 클래스 Crud\Action\Bulk\ToggleAction

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

공개 메소드들

메소드 설명
__construct ( Controller $Controller, array $config = [] ) : void Constructor

보호된 메소드들

메소드 설명
_bulk ( Query $query = null ) : boolean Handle a bulk toggle
_handle ( ) : Response Handle a bulk event

메소드 상세

__construct() 공개 메소드

Constructor
public __construct ( Controller $Controller, array $config = [] ) : void
$Controller Cake\Controller\Controller Controller instance
$config array Default settings
리턴 void

_bulk() 보호된 메소드

Handle a bulk toggle
protected _bulk ( Query $query = null ) : boolean
$query Cake\ORM\Query The query to act upon
리턴 boolean

_handle() 보호된 메소드

Handle a bulk event
protected _handle ( ) : Response
리턴 Cake\Network\Response