Krang::CGI::Category - web interface to manage categories
use Krang::ClassLoader 'CGI::Category';
pkg('CGI::Category')->new()->run();
Following are descriptions of all the run-modes provided by Krang::CGI::Category.
Show the category find screen.
Shows the new category form which submits to the create runmode.
Creates a new category object and proceeds to edit_category. Expects the form parameters from new_category. Upon error, returns to new_category with an error message. Upon success, goes to edit_category.
The category editing interface. Expects to find a category to edit in $session{category} or a category_id in they query params.
This mode saves the category to the database and leaves the category editor, sending control to the find screen.
This mode saves the category to the database and returns to edit.
This mode saves the current data to the session and jumps to editing an element within the category.
This mode saves the current element data to the session and goes to the bulk edit mode.
Saves and changes the bulk edit separator, returning to edit.
This mode saves the current element data to the session and goes to the edit mode.
This mode saves the current element data to the session and jumps to edit the parent of this element.
Deletes the category permanently from the database. Expects a category in the session.
Delete all the categories which were checked on the find screen.
Show the Category Copy screen, providing controls to tune the category copy.
Execute the category copy operation.