NAME

Apache::Onanox::User::Preferences

ABSTRACT

User preferences manipulation class.

METHODS

new

Simple constructor

user

Get/set user

get_by_id

Retrieves a preference by pref_id.

get

Retrieves preferences for a user.

get_by_type

Retrieves preferences for a user by type (and selector, optionally).

list_types

Lists all types

list_selectors

Lists all selectors

get_values_by_type

Retrieves values of preferences for a user by type (and selector, optionally).

theme

Retrieves theme for a user.

make_css

Makes CSS from a user's preferences.

preference

Gets a preference for a user.

create

Creates a new user preference.

reset

Resets all user preferences to those of guest user.

update

Updates a preference

SEE ALSO

Apache::Onanox