NAME
Solstice::Controller::Application - The super class for all application controllers.
SYNOPSIS
use Solstice::Controller::Application;
our @ISA = qw(Solstice::Controller::Application);
DESCRIPTION
Has the stub functions that all application controllers need.
Superclass
Export
No symbols exported.
Methods
- new($application)
-
Constructor.
- getController()
-
Returns the controller currently set for a subclass.
- setController($controller)
-
This function is for subclasses, so they can tell us which controller to use.
- validate()
-
Validates user input from the previous screen.
- update()
- revert()
- commit()
-
Does any action of the controller after validation, such as saving objects or deleting them.
- validPreConditions()
-
Makes sure the controller knows everything it needs to in order to create the next view.
- finalize()
-
Allows conrollers to clean up any resource they need to right before the click lifecycle is over
- getView()
-
Returns the view of the summary.
- setInputName()
- setOutputName()
- setRequiresAuth($boolean)
- getRequiresAuth()
- getBookmarkState()
- getBookmarkID()
- getBookmarkLabel()
- setBookmarkID($id)
Modules Used
Solstice::Controller, HTTP::BrowserDetect.
AUTHOR
Catalyst Group, <catalyst@u.washington.edu>
VERSION
$Revision: 3364 $
COPYRIGHT
Copyright 1998-2007 Office of Learning Technologies, University of Washington
Licensed under the Educational Community License, Version 1.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at: http://www.opensource.org/licenses/ecl1.php
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.