method mvcDirs documentation in bbn\Ide\Directories

function() { $res = []; foreach ( $dirs as $i => $d ){ if ( !empty($d['tabs']) && is_dir(\bbn\Mvc::getAppPath()) ){ $d['real_path'] = $this->decipherPath($d['path']); $d['prefix'] = strpos($d['real_path'], \bbn\Mvc::getAppPath()) === 0 ? '' : false; foreach ( $this->routes as $alias => $route ){ if ( strpos($d['real_path'], $route) === 0 ){ $d['prefix'] = $alias.'/'; break; } } $res[$i] = $d; } } return $res; }

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.