Tools_Url¶
- class Nos\Tools_Url¶
Provides static methods for URL.
::page()¶
- static Nos\Tools_Url::page($page_id)¶
Parameters: - $page_id (int) – A Model_Page ID.
Returns: URL of the specified page.
::context()¶
- static Nos\Tools_Url::context($context)¶
Parameters: - $context (string) – A context ID. See Multi-Contexts.
Returns: Home URL of the specified context.