protected function getDataUrl(Item $item, $language = 0)
    {
        $pageId = $item->getRecordUid();
        $strategy = $this->getUriStrategy($pageId);
        $mountPointParameter = $this->getMountPageDataUrlParameter($item);
        $dataUrl = $strategy->getPageIndexingUriFromPageItemAndLanguageId($item, $language, $mountPointParameter, $this->options);

        return $dataUrl;
    }
protected function getDataUrl(Item $item, $language = 0)
    {
        $pageId = $item->getRecordUid();
        $strategy = $this->getUriStrategy($pageId);
        $mountPointParameter = $this->getMountPageDataUrlParameter($item);
        $dataUrl = $strategy->getPageIndexingUriFromPageItemAndLanguageId($item, $language, $mountPointParameter, $this->options);

        return $dataUrl;
    }
protected function getDataUrl ( Item $ item , $ language = 0 ) { $ pageId = $ item -> getRecordUid ( ) ; $ strategy = $ this -> getUriStrategy ( $ pageId ) ; $ mountPointParameter = $ this -> getMountPageDataUrlParameter ( $ item ) ; $ dataUrl = $ strategy -> getPageIndexingUriFromPageItemAndLanguageId ( $ item , $ language , $ mountPointParameter , $ this -> options ) ; return $ dataUrl ; }
Determines a page ID's URL.

Tries to find a domain record to use to build an URL for a given page ID
and then actually build and return the page URL.

@param Item $item Item to index
@param int $language The language id
@return string URL to send the index request to
@throws \RuntimeException
Determines a page ID s URL .