original_string: public function get_root_path($code){
      /** @var array $dir The directory configuration */
      $dir = $this->dir($code);
      if ( $dir ){
        $path = $this->decipher_path(bbn\str::parse_path($dir['bbn_path'].(!empty($dir['path']) ? '/' . $dir['path'] : '')));
  
        $r = bbn\str::parse_path($path.'/');
        return $r;
      }
      return false;
    }
code: public function get_root_path($code){
      /** @var array $dir The directory configuration */
      $dir = $this->dir($code);
      if ( $dir ){
        $path = $this->decipher_path(bbn\str::parse_path($dir['bbn_path'].(!empty($dir['path']) ? '/' . $dir['path'] : '')));
  
        $r = bbn\str::parse_path($path.'/');
        return $r;
      }
      return false;
    }
code_tokens: public function get_root_path ( $ code ) { /** @var array $dir The directory configuration */ $ dir = $ this -> dir ( $ code ) ; if ( $ dir ) { $ path = $ this -> decipher_path ( bbn \ str :: parse_path ( $ dir [ 'bbn_path' ] . ( ! empty ( $ dir [ 'path' ] ) ? '/' . $ dir [ 'path' ] : '' ) ) ) ; $ r = bbn \ str :: parse_path ( $ path . '/' ) ; return $ r ; } return false ; }
docstring: Gets the real root path from a directory's id as recorded in the options.
  
  @param string $code The dir's name (code)
  @return bool|string
docstring_tokens: Gets the real root path from a directory s id as recorded in the options .