src/bbn/mvc/controller.php
public function render($view, $model=''){
    if ( empty($model) && $this->has_data() ){
			$model = $this->data;
		}
    if ( \is_string($view) ){
      return \is_array($model) ? bbn\tpl::render($view, $model) : $view;
		}
		die(bbn\x::hdump("Problem with the template", $view, $this->path, $this->mode));
	}
public function render($view, $model=''){
    if ( empty($model) && $this->has_data() ){
			$model = $this->data;
		}
    if ( \is_string($view) ){
      return \is_array($model) ? bbn\tpl::render($view, $model) : $view;
		}
		die(bbn\x::hdump("Problem with the template", $view, $this->path, $this->mode));
	}
public function render ( $ view , $ model = '' ) { if ( empty ( $ model ) && $ this -> has_data ( ) ) { $ model = $ this -> data ; } if ( \ is_string ( $ view ) ) { return \ is_array ( $ model ) ? bbn \ tpl :: render ( $ view , $ model ) : $ view ; } die ( bbn \ x :: hdump ( "Problem with the template" , $ view , $ this -> path , $ this -> mode ) ) ; }
This directly renders content with arbitrary values using the existing Mustache engine.

@param string $view The view to be rendered
@param array $model The data model to fill the view with
@return void
This directly renders content with arbitrary values using the existing Mustache engine .