public function get_file($params = []) { $link_style = isset($params['link_style']) ? $params['link_style'] : 0; $reference = Reference::read_file($params['file_name'], $link_style); SiteStructure::set_page_title($reference['title']); Render::html($reference['content'], [], 'text/html'); }