Vous êtes connecté en tant que anonymous Se Deconnecter
application/class/vue.class.php
aed8ee26
 <?php
 
 define( "LAYOUT_PATH" , APPLICATION_PATH . DIRECTORY_SEPARATOR . "layout");
 
 
 class Vue{
 	
 	public $ecran;
 	public $block_body;
 	
 	public function __construct($baseControlleur){
 		
 		extract( $baseControlleur->modele->page );
 		
 		ob_start();
 		require VIEW_PATH.DIRECTORY_SEPARATOR.$name.'.php';
 		$this->block_body = ob_get_clean();
 		
 		ob_start();
 		require LAYOUT_PATH.DIRECTORY_SEPARATOR."standard.phtml";
 		$this->ecran = ob_get_clean();
 		
 	}
 	
 }