UNB Components Code Reference

UnbUser::SetSetting method

Sets one or multiple configuration entries for this user.

public function UnbUser::SetSetting ($name, $data);

Parameters

name
(string) Setting name to set for this user (max. 255 characters)
(array(string => string)) Associative array of setting names and data
data
(string) Setting data (max. 255 characters)

Remarks

Configuration settings for this user will be updated, or inserted if they don't exist yet. If an array was specified to update multiple settings, existing settings are either updated or not, they are not removed if they do not appear in the settings array.

Exceptions thrown

InvalidArgumentException No description available.
LengthException No description available.
UnbDatabaseException No description available.

Member of class: UnbUser

Implementation file: user.class.php, line 1255

© 2010 Yves Goergen. UNB Components Homepage. Reference generated on 2010-03-07.