Net_Growl
[ class tree: Net_Growl ] [ index: Net_Growl ] [ all elements ]

File: gntpAdapterSocketCallbacks.php

Source Location: /Net_Growl-2.7.0/examples/gntpAdapterSocketCallbacks.php

Classes:

Page Details:

Socket callbacks example that send notifications to Growl using the new GNTP/1.0 protocol

Callbacks are sent back to the sending application when an action is taken in response to a notification.

PHP version 5

Includes:

require_once('Net/Growl/Autoload.php') [line 21]

cbNotify [line 37]

void cbNotify( string $result, string $context, string $type, string $timestamp)

Callback function when notification response is returned


Parameters

string   $result   Notification-Callback-Result: header, result [CLICKED|CLOSED|TIMEDOUT] | [CLICK|CLOSE|TIMEOUT]
string   $context   Notification-Callback-Context: header, result from the original request
string   $type   Notification-Callback-Context-Type: header, result from the original request
string   $timestamp   Notification-Callback-Timestamp: header, result The date and time the callback occurred
[ Top ]



Documentation generated on Tue, 29 Jan 2013 18:30:04 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.