Class miPage

Description

Handles page control and display There could be multiple views on one page

  • copyright: Copyright (c) 2006-2007 Mirchev Ideas Ltd. All rights reserved.

Located in /control/Page.php (line 15)


	
			
Variable Summary
Method Summary
miPage __construct (miView|array $views)
void dispatchAndShow ()
void processControllerCommands (array $controllerCommands)
void setDispatcher (miDispatcher $dispatcher)
void setFooter (string $footerFileName)
void setHeader (string $headerFileName)
void showPage ()
Variables
miDispatcher $_dispatcher (line 36)

The dispatcher object

  • access: protected
mixed $_footerFileName (line 29)
  • access: protected
mixed $_headerFileName (line 24)
  • access: protected
mixed $_views = array() (line 19)
  • access: protected
Methods
Constructor __construct (line 44)

Initializes the page object

  • access: public
miPage __construct (miView|array $views)
  • miView|array $views: view or array of views
dispatchAndShow (line 129)

Dispatch an action and show a page with a one view

  • access: public
void dispatchAndShow ()
getDispatcher (line 116)

Returns the dispatcher object Instantiates a miDefaultDispatcher object, if needed

  • access: public
miDispatcher getDispatcher ()
processControllerCommands (line 77)

Process the controller commands

  • access: public
void processControllerCommands (array $controllerCommands)
  • array $controllerCommands: array of controller command objects
setDispatcher (line 144)

Allows runtime changing of the dispatcher object

  • access: public
void setDispatcher (miDispatcher $dispatcher)
setFooter (line 67)

Sets the footer file

  • access: public
void setFooter (string $footerFileName)
  • string $footerFileName
setHeader (line 57)

Sets the header file

  • access: public
void setHeader (string $headerFileName)
  • string $headerFileName
showPage (line 97)

Shows the page

  • access: public
void showPage ()

Documentation generated on Thu, 08 May 2008 16:57:30 +0300 by phpDocumentor 1.4.1