gupnp_service_action_set

(PECL gupnp >= 0.1.0)

gupnp_service_action_setSets the specified action return values

说明

gupnp_service_action_set ( resource $action , string $name , int $type , mixed $value ) : bool

Sets the specified action return values.

参数

action

A service action identifier.

name

The name of the variable to retrieve.

type

The type of the variable to retrieve. Type can be one of the following values:

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

value

The value of the variable to retrieve.

返回值

成功时返回 TRUE, 或者在失败时返回 FALSE

错误/异常

Issues E_WARNING with neither not correctly defined type of the variable or the value is not corresponding to the defined type.

参见

相关文章
php cubrid mysql 兼容性函数 return a numerical array with the values of the current rowphp cubrid mysql 兼容性函数 return the name of the specified field indexphp cubrid mysql 兼容性函数 return the name of the table of the specified fieldphp enchant 函数 will return a list of values if any of those pre conditions are not metphp fdf 函数 sets an javascript action of a fieldphp fdf 函数 sets a submit form action of a fieldphp gupnp 函数 sets the event subscription timeoutphp gupnp 函数 retrieves the specified action argumentsphp gupnp 函数 sets the specified action return valuesphp gupnp 函数 send action to the service and get valuephp gupnp 函数 send action to the service and set valuephp gupnp 函数 sets up callback for variable change notificationphp snmp 函数 return the method how the snmp values will be returnedphp snmp 函数 return all values that are enums with their enum value instead of the raw integerphp snmp 函数 return all objects including their respective object id within the specified onephp trader 函数 lowest and highest values over a specified periodphp trader 函数 indexes of lowest and highest values over a specified periodphp gupnp 函数 send action with multiple parameters synchronouslyphp sdo das relational 函数 executes an sql query passed as a prepared statement with a list of values to substitute for placeholders and return the results as a normalised data graphphp sdo 函数 return the property for the specified sequence index
关注编程学问公众号