Class edit_section_rosterAction

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/edit_section_roster.act.php (line 20)

Action
   |
   --WizardAction
      |
      --MainWindowAction
         |
         --edit_section_rosterAction
Method Summary
void addStudent (object section $section, string $agentIdString, string $status)
void buildContent ()
void getAddForm (object section $section)
string getHeadingText ()
void getMembers (string $section)
void removeStudent (object section $section, string $agentIdString)
Variables

Inherited Variables

Inherited from MainWindowAction

MainWindowAction::$_actionRows
Methods
addStudent (line 285)

Process any changes in the add form to add a student.

  • since: 8/29/05
  • access: public
void addStudent (object section $section, string $agentIdString, string $status)
  • object section $section
  • string $agentIdString: agentIdString
  • string $status: status
buildContent (line 76)

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 129)

Creates and prints the wild card agent search form to add students to the course section.

  • since: 8/24/05
  • access: public
void getAddForm (object section $section)
  • object section $section
getHeadingText (line 57)

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.
getMembers (line 230)

Prints the list of existing members for the section and a form to remove.

  • since: 8/24/05
  • access: public
void getMembers (string $section)
  • string $section: section
isAuthorizedToExecute (line 30)

Check Authorizations

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

Redefinition of:
Action::isAuthorizedToExecute()
Check Authorizations
removeStudent (line 326)

Process any changes in the form to remove a section.

  • since: 8/29/05
  • access: public
void removeStudent (object section $section, string $agentIdString)
  • object section $section
  • string $agentIdString: agentIdString

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:23:00 -0400 by phpDocumentor 1.3.0RC3