Frontend\Modules\Pages\Engine\Model::getIdForTags PHP Method

getIdForTags() public static method

Selects the proper part of the full URL to get the item's id from the database.
public static getIdForTags ( Url $url ) : integer
$url Frontend\Core\Engine\Url The current URL.
return integer
    public static function getIdForTags(FrontendURL $url)
    {
        return FrontendNavigation::getPageId($url->getQueryString());
    }