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:
Returns:

Home URL of the specified context.

::encodePath()

static Nos\Tools_Url::encodePath($url)
Parameters:
  • $url (string) – Url to encode
Returns:

Encode the path part of an URL.