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 );
ff461209
 
aed8ee26
 		ob_start();
8d6a2feb
         require CONTROLLER_PATH.DIRECTORY_SEPARATOR.$name.'.php';
ff461209
         require VIEW_PATH.DIRECTORY_SEPARATOR.$name.'.phtml';
aed8ee26
 		$this->block_body = ob_get_clean();
ff461209
 
aed8ee26
 		ob_start();
 		require LAYOUT_PATH.DIRECTORY_SEPARATOR."standard.phtml";
 		$this->ecran = ob_get_clean();
ff461209
 
aed8ee26
 	}
 	
 }