Return data to build an address header.
public getAddressHeader ( mixed $header, integer $limit = 50 ) : array | ||
$header | mixed | The address header name (string) or a Horde_Mime_Rfc822_List object. |
$limit | integer | Limit display to this many addresses. If null, shows all addresses. |
리턴 | array | An array with the following entries: - addr: (array) List of addresses/groups. Group keys: 'a' (list of addresses); 'g' (group name) Address keys: 'b' (bare address); 'p' (personal part) Both: 'v' (full value) - limit: (integer) If limit was reached, the number of total addresses. - raw: (string) A raw string to display instead of addresses. |