Location: PHPKode > projects > Webgolin > webgolin/core/connector/ViewBase.php
<?php
/*************************************************************
*                            ViewBase                        *
*                 Copyright Softlech Corporation             *
*                  Created by: Fernando Martinez             *
*                        27/07/05                            *
**************************************************************/

/** base class for view creation */
 class ViewBase
 {
 	function ViewBase()
 	{
 		global $includePage,$viewMethod;
 		$viewMethod  = "echo";
 		$includePage = "";
 	}
 	
 	/** called from derived classes to add content to view */
 	function addToView($data)
	{
		global $includePage,$viewMethod;
		$includePage.=$data;
		$viewMethod="echo";
	}
 }
?>
Return current item: Webgolin