UNB Components Code Reference

UnbConfiguration::Set method

Sets a configuration setting.

public static function UnbConfiguration::Set ($name, $data);

Parameters

name

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

data

(string) Setting data (max. 255 characters)

Remarks

Configuration settings will be updated, or inserted if they don't exist yet.

Exceptions thrown

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

If the configuration file is corrupt.

See also

UnbUser::SetSetting()

Member of class: UnbConfiguration

Implementation file: configuration.class.php, line 167

© 2011 Yves Goergen. UNB Components Homepage. Reference generated on 2011-02-06.