Michael Peters > Smolder > Smolder::Control::Developer::Prefs

Download:
Smolder-1.51.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  7
Open  15
View/Report Bugs
Source   Latest Release: Smolder-1.52

NAME ^

Smolder::Control::Developer::Prefs

DESCRIPTION ^

Controller module for dealing with developer preferences

RUN MODES ^

change_pw

Show the form to allow a developer to change their password. Uses the Developer/Prefs/change_pw.tmpl template.

process_change_pw

Handled the incoming data from the change_pw run mode. If it passes validation then it updates the database and then returns to the change_pw mode.

show

Show all of the preferences for each project that this developer is assigned to. Uses the Developer/Prefs/show.tmpl template.

get_pref_details

This run mode will return a JSON header which contains the name-value pairs for this preferences data.

update_pref

Update the information coming from the show run mode. If validation passes, the database is updated and the show run mode is returned.

syntax highlighting: