Get icon URL of the game the Session is for.

@return string|null
548443
public function gameIconUrl() : ?string
    {
        if ($this->titleType() & SessionType::Unknown) return null; 

        return $this->session->npTitleDetail->npTitleIconUrl;
    }
335955
public function getGameMapper()
    {
        if (null === $this->gameMapper) {
            $this->gameMapper = $this->serviceLocator->get('playgroundgame_game_mapper');
        }

        return $this->gameMapper;
    }
827697
public function getUrl()
    {
        $request = clone request();

        $request->merge([
            $this->getName() => $this->getValue(),
            'page'           => 1,
        ]);

        /** @var \SleepingOwl\Admin\Contracts\AdminInterface $so */
        $so = app('sleeping_owl');

        return $so->getModel($this->getRelatedModel())
            ->getDisplayUrl($request->all());
    }
775137
public function icon()
	{
		$input = [
			[icon('plane'),                  "icon('plane');",               ],
			[icon('bolt'),                   "icon('bolt');",                ],
			[icon('bolt', '#FF00FF'),        "icon('bolt', '#FF00FF');",     ],
			[icon('info', 'info'),           "icon('info', 'info');",        ],
			[icon(true),                     "icon(true);",                  ],
			[icon(false),                    "icon(false);",                 ],
		];
		$data = array_reduce($input, function ($output, $arr)
		{
			$output[] = (object) ['code' => $arr[1], 'icon' => $arr[0]];
			return $output;
		}, []);
		return view('sketchpad::help/helpers/icon', compact('data'));
	}
119907
public function getAvatarImage(): ?ImageMedium
    {
        $avatars = $this->get('avatar');
        if (\is_array($avatars) && $avatars) {
            $avatar = array_shift($avatars);

            $media = $this->getMedia();
            $name = $avatar['name'] ?? null;

            $image = $name ? $media[$name] : null;
            if ($image instanceof ImageMedium) {
                return $image;
            }
        }

        return null;
    }
365764
private function inferLegacyIcon(){
        $ext = $this->getExtensionId();
        $name = strtolower(\tao_helpers_Display::textCleaner($this->data['name']));
        $file = $ext . '/views/img/actions/' . $name . '.png';
        $src = 'actions/' . $name . '.png';
        if(file_exists(ROOT_PATH . $file)) {
            return Icon::fromArray(array('src' => $src), $ext);
        } else if (file_exists(ROOT_PATH . 'tao/views/img/actions/' . $name . '.png')){
            return Icon::fromArray(array('src' => $src), 'tao');
        } else {
            return Icon::fromArray(array('src' => 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAAAAAA6fptVAAAAAnRSTlMA/1uRIrUAAAAKSURBVHjaY/gPAAEBAQAcsIyZAAAAAElFTkSuQmCC'), 'tao');
        }
    }
1168756
public function getIconUrl()
    {
        if (($sIcon = $this->oxcategories__oxicon->value)) {
            $oConfig = \OxidEsales\Eshop\Core\Registry::getConfig();
            $sSize = $oConfig->getConfigParam('sCatIconsize');
            if (!isset($sSize)) {
                $sSize = $oConfig->getConfigParam('sIconsize');
            }

            return \OxidEsales\Eshop\Core\Registry::getPictureHandler()->getPicUrl("category/icon/", $sIcon, $sSize);
        }
    }
495734
protected function renderIcon()
    {
        if (!$this->icon) {
            return '';
        }

        return Icon::widget([
            'name' => ArrayHelper::getValue($this->icon, 'name', null),
            'position' => ArrayHelper::getValue($this->icon, 'position', null),
            'options' => ArrayHelper::getValue($this->icon, 'options', [])
        ]);
    }
999501
public static function get_icon_for_extension($extension)
    {
        $extension = strtolower($extension);
        $module = ModuleLoader::getModule('silverstripe/framework');

        $candidates = [
            $extension,
            static::get_app_category($extension),
            'generic'
        ];
        foreach ($candidates as $candidate) {
            $resource = $module->getResource("client/images/app_icons/{$candidate}_92.png");
            if ($resource->exists()) {
                return $resource->getURL();
            }
        }
        return null;
    }
434925
public function getApplePayTokenRequestUrl() {
        $path = ($this->isLive()) ? 
        self::KEY_LIVE_APPLEPAY_TOKEN_REQUEST_URL : 
        self::KEY_SANDBOX_APPLEPAY_TOKEN_REQUEST_URL;

        return (string) $this->getValue(
            $path,
            $this->storeManager->getStore()
        );
    }
879679
public function getFlashPlayerUrl()
    {
        $this->ensureMediaGroupIsNotNull();
        foreach ($this->getMediaGroup()->getContent() as $content) {
                if ($content->getType() === 'application/x-shockwave-flash') {
                    return $content->getUrl();
                }
            }
        return null;
    }
707320
protected function getCorpusIcon()
  {
    if($this->currObj instanceof Channel && $this->currObj->isSpacer()) return;

    return $this->getImage($this->currObj->getIcon() . ".png");
  }
452849
public function icon() {
		$url = $this->_stub['website'];
		if (!$url) {
			return null;
		}

		$pieces = parse_url($url);
		$url = $pieces['host'];

		$icon = 'http://www.google.com/s2/favicons?domain=';
		$icon .= $url;

		$context = stream_context_create(
			['http' => ['header' => 'Connection: close']]);
		// E.g. http://www.google.com/s2/favicons?domain=xyz.com
		$file = file_get_contents($icon, false, $context);
		if ($file === false) {
			return null;
		}
		// TODO: transform into 16x16 png
		return $file;
	}
1253670
public static function getChampionIconUrl( string $champion_name ): string
	{
		self::checkInit();
		return self::getSetting(self::SET_ENDPOINT) . self::getSetting(self::SET_VERSION) . "/img/champion/{$champion_name}.png";
	}
766437
public function getSessionPath(): string
    {
        $path = $this->getRuntimePath() . DIRECTORY_SEPARATOR . 'sessions';
        FileHelper::createDirectory($path);
        return $path;
    }
686315
public function getUrl()
    {
        if ($this->findDocumentRootInScriptFileName() === $this->removeLastSlash($this->root)) {
            return $this->getRequestUri();
        }
        $path = $this->server->get('PATH_INFO');

        return $path;
    }
448030
public function getUrl()
    {
        return $this->url && $this->token
            ? $this->url  . '?token=' . $this->token
            : null;
    }