Skip to main content

template_layout_page_html

Function template_layout_page_html 

Source
pub fn template_layout_page_html(
    app_root: &Path,
    base_path: Option<&str>,
    layout_id: Option<&str>,
    current_lang: Option<&str>,
    title: &str,
    body: &str,
    current_request_target: Option<&str>,
    has_user: bool,
    managed_business_count: i64,
) -> Option<String>
Expand description

Performs template layout page HTML.

§Parameters

§Returns

Returns Some when crate::runtime::json_commands::template_layout_page_html can produce a value and None otherwise.

§Performance

Performance is proportional to the size of the supplied inputs and any parsed or loaded data consumed by crate::runtime::json_commands::template_layout_page_html.

§Examples

ⓘ
let _result = pharos_native::runtime::json_commands::template_layout_page_html(std::path::Path::new("apps/dev_docs"), "/app", todo!(), todo!(), todo!(), b"", todo!(), todo!(), todo!());