PHP 클래스 Horde_Imap_Client_Base_Alerts, horde

부터: 2.24.0
저자: Michael Slusarz ([email protected])
상속: implements SplSubject
파일 보기 프로젝트 열기: horde/horde 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$_alert object Alert data.
$_observers array Observers.

공개 메소드들

메소드 설명
add ( string $alert, string $type = null ) Add an alert.
attach ( SplObserver $observer )
detach ( SplObserver $observer )
getLast ( ) : object Returns the last alert received.
notify ( ) Notification is triggered internally whenever the object's internal data storage is altered.

메소드 상세

add() 공개 메소드

Add an alert.
public add ( string $alert, string $type = null )
$alert string The alert string.
$type string The alert type.

attach() 공개 메소드

public attach ( SplObserver $observer )
$observer SplObserver

detach() 공개 메소드

public detach ( SplObserver $observer )
$observer SplObserver

getLast() 공개 메소드

Returns the last alert received.
public getLast ( ) : object
리턴 object Alert information. Object with these properties:
  - alert: (string) Alert string.
  - type: (string) [OPTIONAL] Alert type.

notify() 공개 메소드

Notification is triggered internally whenever the object's internal data storage is altered.
public notify ( )

프로퍼티 상세

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

Alert data.
protected object $_alert
리턴 object

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

Observers.
protected array $_observers
리턴 array