public static function getIdForTags(FrontendURL $url) { // select the proper part of the full URL $itemURL = (string) $url->getParameter(1); // return the item return self::get($itemURL); }