Class createcourseAction

Description

The MainWindowAction is an abstract class that provides a standard way of setting up and executing an action in the main window of the application. It provides a structure for accessing various parts of this main window, as well as delegating the implementation of some methods to decendent classes.

  • copyright: Copyright © 2005, Middlebury College
  • version: $Id: MainWindowAction.class.php,v 1.13 2007/09/19 14:04:41 adamfranco Exp $

Located in /polyphony/main/modules/coursemanagement/createcourse.act.php (line 20)

Action
   |
   --WizardAction
      |
      --MainWindowAction
         |
         --createcourseAction
Method Summary
void addCourse (string $courseTitle, string $courseNumber, string $courseDescription, mixed $type, mixed $status, mixed $courseTerm, mixed $credits, mixed $courseGradeType)
void buildContent ()
void getAddForm ()
void getCourses ()
string getHeadingText ()
void removeCourse (string $courseOfferingIdString, string 1, string 2)
Variables

Inherited Variables

Inherited from MainWindowAction

MainWindowAction::$_actionRows
Methods
addCourse (line 247)

Process any changes in the form to add a course offering.

  • since: 8/29/05
  • access: public
void addCourse (string $courseTitle, string $courseNumber, string $courseDescription, mixed $type, mixed $status, mixed $courseTerm, mixed $credits, mixed $courseGradeType)
  • string $courseTitle: offering
  • string $courseNumber: type
  • string $courseDescription: status &param string location
buildContent (line 60)

Build the content for this action

  • since: 4/26/05
  • access: public
void buildContent ()

Redefinition of:
MainWindowAction::buildContent()
Build the content for this action.
getAddForm (line 111)

Creates the form to add information about the course offering.

  • since: 8/29/05
  • access: public
void getAddForm ()
getCourses (line 189)

Prints the list of existing course offerings with the functionality to remove.

  • since: 8/29/05
  • access: public
void getCourses ()
getHeadingText (line 49)

Return the heading text for this action, or an empty string.

  • since: 4/26/05
  • access: public
string getHeadingText ()

Redefinition of:
Action::getHeadingText()
Return the heading text for this action, or an empty string.
isAuthorizedToExecute (line 30)

Check Authorizations

  • since: 4/26/05
  • access: public
boolean isAuthorizedToExecute ()

Redefinition of:
Action::isAuthorizedToExecute()
Check Authorizations
removeCourse (line 304)

Process any changes in the remove form to delete a course offering.

  • since: 8/29/05
  • access: public
void removeCourse (string $courseOfferingIdString, string 1, string 2)
  • string 1: type
  • string 2: status &param string location
  • string $courseOfferingIdString: offering

Inherited Methods

Inherited From MainWindowAction

MainWindowAction::buildContent()
MainWindowAction::execute()
MainWindowAction::getActionRows()

Inherited From WizardAction

WizardAction::cancelWizard()
WizardAction::cleanCacheName()
WizardAction::closeWizard()
WizardAction::createWizard()
WizardAction::getReturnUrl()
WizardAction::getWizard()
WizardAction::runWizard()
WizardAction::saveWizard()

Inherited From Action

Action::execute()
Action::getHeadingText()
Action::getUnauthorizedMessage()
Action::isAuthorizedToExecute()
Action::requestedAction()
Action::requestedModule()

Documentation generated on Wed, 19 Sep 2007 10:22:24 -0400 by phpDocumentor 1.3.0RC3