Class Bluewater_View

Overview

Class to handle Application MVC Views.

tutorial: tutorial.pkg description
PHPUnit: Not Defined
usedby: Bluewater_Controller_Abstract::__construct()
example: example not found

Located in /view.php (line 53)


	
    		        
Properties Summary
array $back_link
string $gui_name
Object $helper
string $page_name
string $page_title
array $_errors
Object $_http
Object $_objCommand
Method Summary
void __construct (void 0)
string|null get_error ([string $_label = false])
void render ( &$controller, object $controller)
void set_error ([string $_label = false], [string $_message = false])
Properties
array $back_link = '' (line 130)

URL to 'return' to

var: URL back Links
since: 1.0
access: public
string $gui_name = '' (line 99)

Name of HTML page to display

var: Name of HTML page to display
since: 1.0
access: public
usedby: Bluewater_View::render()
usedby: Bluewater_Controller_Abstract::__construct()
Object $helper = '' (line 89)

Helper Class Instance

var: Helper Class Instance
since: 1.0
access: protected
usedby: Bluewater_View::__construct()
string $page_name = '' (line 120)

Name to display as page Title Not to be confused with TITLE in HEAD block

var: Name to display as page Title
since: 1.0
access: public
string $page_title = '' (line 109)

Name to display in TITLE in HEAD block

var: Page HTML Title
since: 1.0
access: public
array $_errors = array() (line 140)

Error Message for page views

var: Error Messages for page views
since: 1.0
access: private
usedby: Bluewater_View::get_error()
usedby: Bluewater_View::set_error()
Object $_http = false (line 69)

HTTPD Header Class Instance

var: HTTPD Header Class Instance
since: 1.0
access: protected
usedby: Bluewater_View::render()
Object $_objCommand = false (line 79)

Command Class Instance

var: Command Class Instance
since: 1.0
access: private
usedby: Bluewater_View::render()
Methods
Constructor __construct (line 159)

Class constructor.

PHPUnit: Not Defined
access: public
uses: Bluewater_View::$helper
uses: Bluewater_Httpd_Header::getInstance()
uses: Bluewater_Config::helper()
void __construct (void 0)
  • void 0
get_error (line 260)

Retrieves an error message via 'label' element for display on the final page.

return: Error message, or NULL if not defined
since: 1.0
PHPUnit: Not Defined
access: public
uses: Bluewater_View::$_errors
string|null get_error ([string $_label = false])
  • string $_label: Error label
render (line 191)

Processes a view script.

PHPUnit: Not Defined
since: 1.0
access: public
uses: TEMPLATE
uses: Bluewater_View::$_objCommand
uses: Bluewater_View::$_http
uses: Bluewater_Httpd_Header::send_headers()
uses: Bluewater_Httpd_Header::send_HTML_head()
uses: Bluewater_View::$gui_name
uses: Bluewater_Httpd_Header::send_docType()
void render ( &$controller, object $controller)
  • object $controller: Command Controller Object
  • &$controller
set_error (line 238)

Creates an error message element in the error array for display on the final page.

since: 1.0
PHPUnit: Not Defined
access: public
uses: Bluewater_View::$_errors
void set_error ([string $_label = false], [string $_message = false])
  • string $_label: Error label
  • string $_message: Error message

Documentation generated on Tue, 18 Aug 2009 02:30:19 -0500 by phpDocumentor 1.4.2