mojavi
[ class tree: mojavi ] [ index: mojavi ] [ all elements ]

Class: PageWebController

Source Location: /controller/PageWebController.class.php

Class Overview

MojaviObject
   |
   --Controller
      |
      --WebController
         |
         --PageWebController

PageWebController allows you to dispatch a request by specifying a module and action name in the dispatch() method.


Author(s):

  • Sean Kerr (skerr@mojavi.org)

Version:

  • $Id: PageWebController.class.php 746 2005-01-12 19:54:07Z seank $

Copyright:

Methods


Inherited Variables

Inherited Methods

Class: WebController

WebController::genURL()
Generate a formatted Mojavi URL.
WebController::getContentType()
Retrieve the requested content type.
WebController::initialize()
Initialize this controller.
WebController::redirect()
Redirect the request to another URL.
WebController::setContentType()
Set the content type for this request.

Class: Controller

Controller::actionExists()
Indicates whether or not a module has a specific action.
Controller::forward()
Forward the request to another action.
Controller::getAction()
Retrieve an Action implementation instance.
Controller::getActionStack()
Retrieve the action stack.
Controller::getContext()
Retrieve the current application context.
Controller::getGlobalModel()
Retrieve a global Model implementation instance.
Controller::getInstance()
Retrieve the singleton instance of this class.
Controller::getModel()
Retrieve a Model implementation instance.
Controller::getRenderMode()
Retrieve the presentation rendering mode.
Controller::getView()
Retrieve a View implementation instance.
Controller::initialize()
Initialize this controller.
Controller::modelExists()
Indicates whether or not a module has a specific model.
Controller::moduleExists()
Indicates whether or not a module exists.
Controller::newInstance()
Retrieve a new Controller implementation instance.
Controller::setRenderMode()
Set the presentation rendering mode.
Controller::shutdown()
Execute the shutdown procedure.
Controller::viewExists()
Indicates whether or not a module has a specific view.

Class: MojaviObject

MojaviObject::toString()
Retrieve a string representation of this object.

Class Details

[line 24]
PageWebController allows you to dispatch a request by specifying a module and action name in the dispatch() method.



Tags:

version:  $Id: PageWebController.class.php 746 2005-01-12 19:54:07Z seank $
since:  3.0.0
copyright:  (c) Sean Kerr, http://www.mojavi.org
author:  Sean Kerr (skerr@mojavi.org)


[ Top ]


Class Methods


method dispatch [line 43]

void dispatch( string $moduleName, string $actionName, [array $parameters = null])

Dispatch a request.



Tags:

access:  public
since:  3.0.0
author:  Sean Kerr (skerr@mojavi.org)


Parameters:

string   $moduleName   A module name.
string   $actionName   An action name.
array   $parameters   An associative array of parameters to be set.

[ Top ]


Documentation generated on Tue, 21 Feb 2006 01:45:23 +0900 by phpDocumentor 1.3.0RC5