Location: PHPKode > projects > PhpCodeGenie > phpCodeGenie3.0.2/app/generators/php/plugins/genieDbFrameworkGenerator/webComponentGenerator/genieWebUpdateGenerator.plugin.class.php
<? 
include_once("genieConfiguration.inc.php");
include_once(CLASS_TABLE);
include_once(CLASS_COMMON_GENIE_FRAMEWORK);
?>
<? 
class genieWebUpdateGenerator extends commonGenieFramework
{
	
	function genieWebUpdateGenerator($arguments)
	{
		$db = $arguments['db'];
		$table = $arguments['table'];
		
		$thisTable = new table($table,$db);
		$this->setTableObject($thisTable);
		
		
		$this->initializeGenieFramework();
		
	}
	
	function generate()
	{
		$this->appendSuperHeader();
		$this->appendWebHeader();
		
		$this->generateRetreiveFromForm("POST");
		$this->buildGetInfoById(true);
		$this->appendToCode($this->getSetInfoAndUpdate());
		$this->generateViewInfoTable();
		$this->buildBackToListAll();
		$this->appendWebFooter();
		
		return $this->getSourceCode();
		
	}
	

	
}

?>
Return current item: PhpCodeGenie