method getRootPath documentation in bbn\Ide\Directories

Gets the real root path from a directory's id as recorded in the options.

function($code) { $dir = $this->dir($code); if ( $dir ){ $path = $this->decipherPath(bbn\Str::parsePath($dir['bbn_path'].(!empty($dir['path']) ? '/' . $dir['path'] : ''))); $r = bbn\Str::parsePath($path.'/'); return $r; } return false; }

Gets the real root path from a directory's id as recorded in the options. 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.