PHP 클래스 Kronolith_Attendee_List, horde

저자: Jan Schneider ([email protected])
상속: implements ArrayAccess, implements Countable, implements IteratorAggregate, implements Serializable
파일 보기 프로젝트 열기: horde/horde 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$_list array A list of Kronolith_Attendee objects.

공개 메소드들

메소드 설명
__construct ( array $attendees = [] ) Constructor.
__toString ( )
add ( Kronolith_Attendee | Kronolith_Attendee_List $what ) : Kronolith_Attendee_List Adds one or more attendees to this list.
count ( ) * Countable method.
getEmailList ( ) : Horde_Mail_Rfc822_List Returns a list of email address objects.
getIterator ( )
has ( string | Kronolith_Attendee $email ) : boolean Checks to see whether an attendee exists in this list.
offsetExists ( $index )
offsetGet ( $index )
offsetSet ( $index, $value )
offsetUnset ( $index )
parse ( string $newAttendees, Horde_Notification_Handler $notification ) : Kronolith_Attendee_List Parses a comma separated list of names and e-mail addresses into a list of attendees.
serialize ( )
unserialize ( $data )
without ( array $excluded ) : Kronolith_Attendee_List Returns a copy this list with some attendees removed.

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( array $attendees = [] )
$attendees array A list of Kronolith_Attendee objects.

__toString() 공개 메소드

public __toString ( )

add() 공개 메소드

Adds one or more attendees to this list.
public add ( Kronolith_Attendee | Kronolith_Attendee_List $what ) : Kronolith_Attendee_List
$what Kronolith_Attendee | Kronolith_Attendee_List The attendee(s) to add.
리턴 Kronolith_Attendee_List This list with the attendee(s) added.

count() 공개 메소드

* Countable method.
public count ( )

getEmailList() 공개 메소드

Returns a list of email address objects.
public getEmailList ( ) : Horde_Mail_Rfc822_List
리턴 Horde_Mail_Rfc822_List This list of attendees.

getIterator() 공개 메소드

public getIterator ( )

has() 공개 메소드

This is a case-insensitive version of offsetExists().
public has ( string | Kronolith_Attendee $email ) : boolean
$email string | Kronolith_Attendee An attendee or the email address of an attendee.
리턴 boolean True if the specified attendee is present in this list.

offsetExists() 공개 메소드

public offsetExists ( $index )

offsetGet() 공개 메소드

public offsetGet ( $index )

offsetSet() 공개 메소드

public offsetSet ( $index, $value )

offsetUnset() 공개 메소드

public offsetUnset ( $index )

parse() 공개 정적인 메소드

Parses a comma separated list of names and e-mail addresses into a list of attendees.
public static parse ( string $newAttendees, Horde_Notification_Handler $notification ) : Kronolith_Attendee_List
$newAttendees string A comma separated attendee list.
$notification Horde_Notification_Handler A notification handler.
리턴 Kronolith_Attendee_List The parsed attendee list.

serialize() 공개 메소드

public serialize ( )

unserialize() 공개 메소드

public unserialize ( $data )

without() 공개 메소드

Returns a copy this list with some attendees removed.
public without ( array $excluded ) : Kronolith_Attendee_List
$excluded array List of email addresses to remove.
리턴 Kronolith_Attendee_List A reduced attendee list.

프로퍼티 상세

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

A list of Kronolith_Attendee objects.
protected array $_list
리턴 array