protected function partial($file) {

		$viewmodel = new ViewModel($file);
		$viewmodel -> assign($this -> viewmodel -> getVariables());

		ViewContainer :: output($viewmodel);
	}
protected function partial($file) {

		$viewmodel = new ViewModel($file);
		$viewmodel -> assign($this -> viewmodel -> getVariables());

		ViewContainer :: output($viewmodel);
	}
protected function partial ( $ file ) { $ viewmodel = new ViewModel ( $ file ) ; $ viewmodel -> assign ( $ this -> viewmodel -> getVariables ( ) ) ; ViewContainer :: output ( $ viewmodel ) ; }
Calls the parse function
@param string $template
@return
Calls the parse function