AdminPageFramework_View__PageRenderer__ScreenIcon::_throwScreenIconByURLOrPath PHP Метод

_throwScreenIconByURLOrPath() приватный Метод

private _throwScreenIconByURLOrPath ( $sPageSlug )
    private function _throwScreenIconByURLOrPath($sPageSlug)
    {
        $_sScreenIconPath = $this->getElement($this->oFactory->oProp->aPages, array($sPageSlug, 'href_icon_32x32'), '');
        if (!$_sScreenIconPath) {
            return;
        }
        $_sScreenIconPath = $this->getResolvedSRC($_sScreenIconPath, true);
        $_aAttributes = array('style' => $this->getInlineCSS(array('background-image' => "url('" . esc_url($_sScreenIconPath) . "')")));
        throw new Exception($this->_getScreenIconByAttributes($_aAttributes));
    }