downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

gupnp_service_proxy_add_notify> <gupnp_service_proxy_action_get
[edit] Last updated: Fri, 07 Jun 2013

view this page in

gupnp_service_proxy_action_set

(PECL gupnp >= 0.1.0)

gupnp_service_proxy_action_setEnvía la acción al servicio y establece el valor

Descripción

bool gupnp_service_proxy_action_set ( resource $proxy , string $action , string $name , mixed $value , int $type )

Envía la acción con parámetros al servicio a través de un proxy y establece el valor.

Parámetros

proxy

Un identificador de servicio proxy.

action

Una acción.

name

El nombre de la acción.

value

El valor de la acción.

type

El tipo de la acción. El tipo puede ser uno de los sigientes valores:

GUPNP_TYPE_BOOLEAN
Este tipo de variable es boolean.
GUPNP_TYPE_INT
Este tipo de variable es integer.
GUPNP_TYPE_LONG
Este tipo de variable es long.
GUPNP_TYPE_DOUBLE
Type of the variable is double.
GUPNP_TYPE_FLOAT
Este tipo de variable es float.
GUPNP_TYPE_STRING
Este tipo de variable es string.

Valores devueltos

Devuelve TRUE en caso de éxito o FALSE en caso de error.

Errores/Excepciones

Lanza un E_WARNING si el tipo de acción no es correctamente definido o no es posible enviar la acción.

Ver también



add a note add a note User Contributed Notes gupnp_service_proxy_action_set - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | sitemap | contact | advertising | mirror sites