src/Module/View.php
private function load($view) {

		$data = $this->data($view);

		if(file_exists($data['file'])) {

			extract($data['var']);

			require $data['file'];
		}
	}
private function load($view) {

		$data = $this->data($view);

		if(file_exists($data['file'])) {

			extract($data['var']);

			require $data['file'];
		}
	}
private function load ( $ view ) { $ data = $ this -> data ( $ view ) ; if ( file_exists ( $ data [ 'file' ] ) ) { extract ( $ data [ 'var' ] ) ; require $ data [ 'file' ] ; } }
View the file to the controller

@param array $view
View the file to the controller