NAME

Apache::Chameleon::User::Preferences

ABSTRACT

User preferences manipulation class.

METHODS

new

Simple constructor

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.

retrieve

Retrieves 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

_user

Get/set user

_get_by_id

Retrieves a preference by pref_id.

SEE ALSO

Apache::Chameleon