PHP 클래스 FOF30\Event\Observer

파일 보기 프로젝트 열기: akeeba/fof 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$events
$subject The object to observe

공개 메소드들

메소드 설명
__construct ( FOF30\Event\Observable &$subject ) Creates the observer and attaches it to the observable subject object
getObservableEvents ( ) : array Returns the list of events observable by this observer. Set the $this->events array manually for faster processing, or let this method use reflection to return a list of all public methods.

메소드 상세

__construct() 공개 메소드

Creates the observer and attaches it to the observable subject object
public __construct ( FOF30\Event\Observable &$subject )
$subject FOF30\Event\Observable The observable object to attach the observer to

getObservableEvents() 공개 메소드

Returns the list of events observable by this observer. Set the $this->events array manually for faster processing, or let this method use reflection to return a list of all public methods.
public getObservableEvents ( ) : array
리턴 array

프로퍼티 상세

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

protected $events

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

The object to observe
protected $subject