Interface MVCnPHP_ViewInterface

Description

Interface class for views

Located in /ViewInterface.php (line 28)


	
			
Method Summary
string getView ()
boolean printView ()
void setOutputMethod (int $method)
Methods
getView (line 65)

Renders a view in either printed HTML or as an HTML string back to caller

string getView ()
printView (line 41)

Returns if view should be printed

View can be printed using echo or returned as a string. This method is a tool used by the controller to determine if it needs to return a string or not

  • return: True if view is printed, otherwise false
  • access: public
  • author: Tony Bibbs <tony@geeklog.net>
boolean printView ()
setOutputMethod (line 54)

Sets views output method

View can either be printed immediately using PHP's echo command or the view can be returned as a string

void setOutputMethod (int $method)
  • int $method: One of two constanst, _PRINT or _STRING

Documentation generated on Mon, 7 Mar 2005 22:36:23 -0600 by phpDocumentor 1.3.0RC3