method getView documentation in bbn\Mvc\Controller

This will get a view.

function() { $args = $this->getArguments(\func_get_args()); /*if ( !isset($args['mode']) ){ $v = $this->_mvc->getView($args['path'], 'html', $args['data']); if ( !$v ){ $v = $this->_mvc->getView($args['path'], 'php', $args['data']); } } else{ $v = $this->_mvc->getView($args['path'], $args['mode'], $args['data']); }*/ if (empty($args['mode'])) { $args['mode'] = 'html'; } $v = $this->_mvc->getView($args['path'], $args['mode'], $args['data']); /* if ( !$v && $args['die'] ){ die("Impossible to find the $args[mode] view $args[path] from $args[file]"); } */ return $v; }

This will get a view. BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way

This website uses cookies to ensure you get the best experience on our website.