private function get_node_path(file_info $fileinfo) {
        $encodedpath = base64_encode(json_encode($fileinfo->get_params()));
        return array(
            'path' => $encodedpath,
            'name' => $fileinfo->get_visible_name()
        );
    }
private function get_node_path(file_info $fileinfo) {
        $encodedpath = base64_encode(json_encode($fileinfo->get_params()));
        return array(
            'path' => $encodedpath,
            'name' => $fileinfo->get_visible_name()
        );
    }
private function get_node_path ( file_info $ fileinfo ) { $ encodedpath = base64_encode ( json_encode ( $ fileinfo -> get_params ( ) ) ) ; return array ( 'path' => $ encodedpath , 'name' => $ fileinfo -> get_visible_name ( ) ) ; }
Converts file_info object to element of repository return path

@param file_info $fileinfo
@return array
Converts file_info object to element of repository return path