getPageId()
public static method
Get a menuId for an specified URL
public static getPageId ( string $url, string $language = null ) : integer |
$url |
string |
The URL wherefore you want a pageID. |
$language |
string |
The language wherefore the pageID should be retrieved,
if not provided we will load the language that was provided in the URL. |
return |
integer |
|