PHP 클래스 Swift_Events_EventObject, Halite

저자: Chris Corbyn
상속: implements Swift_Events_Event
파일 보기 프로젝트 열기: HaliteChallenge/Halite 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( object $source ) Create a new EventObject originating at $source.
bubbleCancelled ( ) : boolean Returns true if this Event will not bubble any further up the stack.
cancelBubble ( $cancel = true ) Prevent this Event from bubbling any further up the stack.
getSource ( ) : object Get the source object of this event.

메소드 상세

__construct() 공개 메소드

Create a new EventObject originating at $source.
public __construct ( object $source )
$source object

bubbleCancelled() 공개 메소드

Returns true if this Event will not bubble any further up the stack.
public bubbleCancelled ( ) : boolean
리턴 boolean

cancelBubble() 공개 메소드

Prevent this Event from bubbling any further up the stack.
public cancelBubble ( $cancel = true )

getSource() 공개 메소드

Get the source object of this event.
public getSource ( ) : object
리턴 object