method getViewGroup documentation in bbn\Mvc\Controller
This will get a view for embedding in HTML.
function($files = '', array $data = NULL, $mode = 'html')
{
if (!\is_array($files)) {
if (!($tmp = $this->_mvc->fetchDir($files, $mode))) {
$this->error("Impossible to get files from directory $files");
return false;
}
$files = $tmp;
}
if (\is_array($files) && \count($files)) {
$st = '';
foreach ($files as $f) {
if ($tmp = $this->getView($f, $mode, $data)) {
$st .= $tmp;
}
}
return $st;
}
$this->error('Impossible to get files from get_view_group files argument empty');
}
This will get a view for embedding in HTML. 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.
© 2011-2025
BBN Solutions