Function apn_set_array
Set multiple apn options
Valid options are:
- mode - Sets connection mode
- certificate - path to an SSL certificate
- private_key - path to a private key
- private_key_pass - private key passphrase
- tokens - array of device tokens
Parameters summary
resource |
$apn |
Apple Push Notification Resource returned by apn_init(). If a non-resource is used for the apn, an error of level E_WARNING will be emitted |
array |
$options |
An associative array specifying which options to set and their values |
Return value summary
boolean |
Returns TRUE on success or FALSE on failure |