프로퍼티 | 타입 | 설명 | |
---|---|---|---|
string | The attendee's email address. | ||
$name | string | The attendee's full name. | |
$response | integer | One of the Kronolith::RESPONSE_* constants | |
$role | integer | One of the Kronolith::PART_* constants | |
$user | string | The attendee's user name. |
메소드 | 설명 | |
---|---|---|
__construct ( array $params ) | Constructor. | |
__get ( $what ) | ||
__toString ( ) | ||
matchesEmail ( string $email, boolean $caseSensitive ) : boolean | Returns whether an email address matches this attendee. | |
migrate ( string $email, array $data ) | Migrates data from an old attendee structure. | |
serialize ( ) | ||
toJson ( ) : object | Returns a simple object suitable for JSON transport representing this event. | |
unserialize ( $data ) |
public __construct ( array $params ) | ||
$params | array | Attendee properties: - 'user': (string) A user name. - 'email': (string) The email address of the attendee. - 'role': (integer) The role code of the attendee. One of the Kronolith::PART_* constants. Default: Kronolith::PART_REQUIRED - 'response': (integer) The response code of the attendee. One of the Kronolith::RESPONSE_* constants. Default: Kronolith::RESPONSE_NONE - 'name': (string) The name of the attendee. - 'identities': (Horde_Core_Factory_Identity) An identity factory used to complete 'email' and 'name' for 'user' if not specified explicitly. |