public function renderMustache($filename, $data) {
        // This is for mustache compatibility
        $data['getView'] = function($name, $data) { 
            return $this->getView($name, $data); 
            };
        return parent::renderMustache($filename, $data);
    }
public function renderMustache($filename, $data) {
        // This is for mustache compatibility
        $data['getView'] = function($name, $data) { 
            return $this->getView($name, $data); 
            };
        return parent::renderMustache($filename, $data);
    }
public function renderMustache ( $ filename , $ data ) { // This is for mustache compatibility $ data [ 'getView' ] = function ( $ name , $ data ) { return $ this -> getView ( $ name , $ data ) ; } ; return parent :: renderMustache ( $ filename , $ data ) ; }
Attach getView function to the mustache view
Attach getView function to the mustache view