gupnp_service_action_return_error

(PECL gupnp >= 0.1.0) Return error code bool gupnp_service_action_return_error ( resource $action, int $error_code [, string $error_description ] ) Return error code. Parameters: action A service action identifier. error_code The error code. Signal can be one of the following values or user defined: error_descr

gupnp_service_action_get

(PECL gupnp >= 0.1.0) Retrieves the specified action arguments mixed gupnp_service_action_get ( resource $action, string $name, int $type ) Retrieves the specified action arguments. Parameters: action A service action identifier. name The name of the variable to retrieve. type The type of the varia

gupnp_root_device_stop

(PECL gupnp >= 0.1.0) Stop main loop bool gupnp_root_device_stop ( resource $root_device ) Stop root server's main loop. Parameters: root_device A root device identifier, returned by gupnp_root_device_new(). Returns: Returns TRUE on success or FALSE on failure. See also:

gupnp_root_device_start

(PECL gupnp >= 0.1.0) Start main loop bool gupnp_root_device_start ( resource $root_device ) Start root server's main loop. Parameters: root_device A root device identifier, returned by gupnp_root_device_new(). Returns: Returns TRUE on success or FALSE on failure. See also:

gupnp_root_device_set_available

(PECL gupnp >= 0.1.0) Set whether or not root_device is available bool gupnp_root_device_set_available ( resource $root_device, bool $available ) Controls whether or not root_device is available (announcing its presence). Parameters: root_device A root device identifier, returned by gupnp_root_device_new(). available Set TRUE if root

gupnp_root_device_new

(PECL gupnp >= 0.1.0) Create a new root device resource gupnp_root_device_new ( resource $context, string $location, string $description_dir ) Create a new root device, automatically downloading and parsing location. Parameters: context A context identifier, returned by gupnp_context_new(). location Location of the description file f

gupnp_root_device_get_relative_location

(PECL gupnp >= 0.1.0) Get the relative location of root device. string gupnp_root_device_get_relative_location ( resource $root_device ) Get the relative location of root device. Parameters: root_device A root device identifier, returned by gupnp_root_device_new(). Returns: The relative location of root device

gupnp_root_device_get_available

(PECL gupnp >= 0.1.0) Check whether root device is available bool gupnp_root_device_get_available ( resource $root_device ) Get whether or not root_device is available (announcing its presence). Parameters: root_device A root device identifier, returned by gupnp_root_device_new(). Returns: Returns TRUE on success or FALSE on failure.

gupnp_device_info_get

(PECL gupnp >= 0.1.0) Get info of root device array gupnp_device_info_get ( resource $root_device ) Get info of root device. Parameters: root_device A root device identifier, returned by gupnp_root_device_new(). Returns: Return array wich contains the information of the root device (like location, url, udn and etc).

gupnp_device_info_get_service

(PECL gupnp >= 0.1.0) Get the service with type resource gupnp_device_info_get_service ( resource $root_device, string $type ) Get the service with type or false if no such device was found. Parameters: root_device A root device identifier, returned by gupnp_root_device_new(). type The type of the service to be retrieved.