setControlAttribute()
This function can be used in a hook to set an output control attribute in the response. It must not be used in batch implementations.
function boolean setControlAttribute(const string i.name, const string i.value)
Input:
- i.name: name of the control attribute (case-sensitive).
- i.value: value to be set for the control attribute.
Output:
return value: true if successful, false otherwise.
If this function is invoked multiple times, only the last value is used.