Article::getLocalizedCoverImageUrl PHP Метод

getLocalizedCoverImageUrl() публичный Метод

Get a full URL to the localized cover image
public getLocalizedCoverImageUrl ( ) : string
Результат string
    function getLocalizedCoverImageUrl()
    {
        $coverImage = $this->getLocalizedCoverImage();
        if (!$coverImage) {
            return '';
        }
        $request = Application::getRequest();
        import('classes.file.PublicFileManager');
        $publicFileManager = new PublicFileManager();
        return $request->getBaseUrl() . '/' . $publicFileManager->getJournalFilesPath($this->getContextId()) . '/' . $coverImage;
    }