Esempio n. 1
0
										new _footer(
											new _h4("Ronaldo Barbachano 2011
			<a href='http://www.linkedin.com/in/ronaldob' title=Linkedin>Linked In</a>
			<a href='https://launchpad.net/%7Eronaldo-barbachano' title=Launchpad>Launchpad</a>
			<a href='https://github.com/redcap3000' title=github>Github</a>")
										)
										
										),array('id'=>'container')
								
								)));						

// create html object with page above
$the_page = new _html($page);

// make it
echo $the_page->make();

// Clean up the page for json storage..
$a= json_core::json_clean($the_page);

// Echo's out the string
echo json_encode($a,true);

// Read in 'clean' structure to json page
// Can also pass json as string to core..
$c = json_core::json_to_page($a);

// Make it again from json!
echo $c->make();