Function apn_send
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 |
resource |
$payload |
Apple Push Notification Payload Resource returned by apn_payload_init(). If a non-resource is used for the apn, an error of level E_WARNING will be emitted |
string|null |
& $error |
A reference to return error message. Pass null, if message should not be returned |
integer|null |
& $errcode |
A reference to return error code. Pass null, if code should not be returned |
Return value summary
boolean |
Returns TRUE on success or FALSE on failure |