src/bbn/appui/menus.php
public function to_path(string $id){
    if ( bbn\str::is_uid($id) ){
      return $this->options->to_path($id, '', $this->_get_public_root());
    }
    return false;
  }
public function to_path(string $id){
    if ( bbn\str::is_uid($id) ){
      return $this->options->to_path($id, '', $this->_get_public_root());
    }
    return false;
  }
public function to_path ( string $ id ) { if ( bbn \ str :: is_uid ( $ id ) ) { return $ this -> options -> to_path ( $ id , '' , $ this -> _get_public_root ( ) ) ; } return false ; }
Returns the path corresponding to an ID

@param string $id
@return int|boolean
Returns the path corresponding to an ID