GUPNP_SERVICE_ACTION_SET(3) 1 GUPNP_SERVICE_ACTION_SET(3)
gupnp_service_action_set - Sets the specified action return values
SYNOPSIS
bool gupnp_service_action_set (resource $action, string $name, int $type, mixed $value)
DESCRIPTION
Sets the specified action return values.
PARAMETERS
o $action
- A service action identifier.
o $name
- The name of the variable to retrieve.
o $type
- The type of the variable to retrieve. Type can be one of the following values:
o GUPNP_TYPE_BOOLEAN - Type of the variable is boolean.
o GUPNP_TYPE_INT - Type of the variable is integer.
o GUPNP_TYPE_LONG - Type of the variable is long.
o GUPNP_TYPE_DOUBLE - Type of the variable is double.
o GUPNP_TYPE_FLOAT - Type of the variable is float.
o GUPNP_TYPE_STRING - Type of the variable is string.
o $value
- The value of the variable to retrieve.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
ERRORS
/EXCEPTIONS
Issues E_WARNING with neither not correctly defined type of the variable or the value is not corresponding to the defined type.
SEE ALSO
gupnp_service_action_get(3).
PHP Documentation Group GUPNP_SERVICE_ACTION_SET(3)