PHP 트레잇 Crud\Core\ProxyTrait

파일 보기 프로젝트 열기: friendsofcake/crud

보호된 프로퍼티들

프로퍼티 타입 설명
$_entity

보호된 메소드들

메소드 설명
_action ( string | null $name = null ) : BaseAction Proxy method for $this->_crud()->action()
_controller ( ) : Controller Proxy method for $this->_container->_controller
_crud ( ) : CrudComponent Proxy method for $this->_container->_crud
_entity ( array $data = null, array $options = [] ) : Cake\ORM\Entity Get a fresh entity instance from the primary Table
_listener ( string $name ) : BaseListener Proxy method for $this->_crud()->listener()
_request ( ) : Cake\Network\Request Proxy method for $this->_container->_request
_response ( ) : Response Proxy method for $this->_controller()->response
_session ( ) : Session Proxy method for $this->_crud()->Session
_subject ( array $additional = [] ) : Crud\Event\Subject Proxy method for $this->_crud()->getSubject()
_table ( ) : Table Get a table instance
_trigger ( string $eventName, Crud\Event\Subject $data = null ) : Cake\Event\Event Proxy method for $this->_crud()->trigger()
_validationErrors ( ) : array Proxy method for $this->_crud()->validationErrors()

메소드 상세

_action() 보호된 메소드

Primarily here to ease unit testing
protected _action ( string | null $name = null ) : BaseAction
$name string | null Action name
리턴 Crud\Action\BaseAction

_controller() 보호된 메소드

Primarily here to ease unit testing
protected _controller ( ) : Controller
리턴 Cake\Controller\Controller

_crud() 보호된 메소드

Proxy method for $this->_container->_crud
protected _crud ( ) : CrudComponent
리턴 Crud\Controller\Component\CrudComponent

_entity() 보호된 메소드

Get a fresh entity instance from the primary Table
protected _entity ( array $data = null, array $options = [] ) : Cake\ORM\Entity
$data array Data array
$options array A list of options for the object hydration.
리턴 Cake\ORM\Entity

_listener() 보호된 메소드

Primarily here to ease unit testing
protected _listener ( string $name ) : BaseListener
$name string Listener name
리턴 Crud\Listener\BaseListener

_request() 보호된 메소드

Primarily here to ease unit testing
protected _request ( ) : Cake\Network\Request
리턴 Cake\Network\Request

_response() 보호된 메소드

Primarily here to ease unit testing
protected _response ( ) : Response
리턴 Cake\Network\Response

_session() 보호된 메소드

Primarily here to ease unit testing
protected _session ( ) : Session
리턴 Cake\Network\Session

_subject() 보호된 메소드

Proxy method for $this->_crud()->getSubject()
protected _subject ( array $additional = [] ) : Crud\Event\Subject
$additional array Array of subject properties to set
리턴 Crud\Event\Subject

_table() 보호된 메소드

Get a table instance
protected _table ( ) : Table
리턴 Cake\ORM\Table

_trigger() 보호된 메소드

Primarily here to ease unit testing
protected _trigger ( string $eventName, Crud\Event\Subject $data = null ) : Cake\Event\Event
$eventName string Event name
$data Crud\Event\Subject Event data
리턴 Cake\Event\Event

_validationErrors() 보호된 메소드

Primarily here to ease unit testing
protected _validationErrors ( ) : array
리턴 array

프로퍼티 상세

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

protected $_entity