메소드 | 설명 | |
---|---|---|
confirmIdentity ( string $hash ) | Checks whether an identity confirmation is valid, and adds the validated identity. | |
getMatchingIdentity ( mixed $addresses, boolean $search_own = true ) : integer | Returns the identity's id that matches the passed addresses. | |
getName ( integer $ident = null ) : string | Returns the user's full name. | |
prefsGc ( ) | Perform garbage collection on preferences used by identities. | |
verifyIdentity ( integer $id, string $old_addr ) | Sends a message to an email address supposed to be added to the identity. |
메소드 | 설명 | |
---|---|---|
_confirmEmail ( array $confirm = null ) : array | Manage the storage of the confirm_email preference. |
protected _confirmEmail ( array $confirm = null ) : array | ||
$confirm | array | If set, save this in the pref backend. |
리턴 | array | Confirm email array. |
public confirmIdentity ( string $hash ) | ||
$hash | string | The hash of the identity being validated. |
public getMatchingIdentity ( mixed $addresses, boolean $search_own = true ) : integer | ||
$addresses | mixed | Either an array or a single string or a comma-separated list of email addresses. |
$search_own | boolean | Search for a matching identity in own addresses also? |
리턴 | integer | The id of the first identity that from or alias addresses match (one of) the passed addresses or null if none matches. |
public verifyIdentity ( integer $id, string $old_addr ) | ||
$id | integer | The identity's ID. |
$old_addr | string | The old From: address. |