concrete/src/Application/Service/Urls.php
public function getPackageIconURL($pkg)
    {
        if ($pkg && file_exists($pkg->getPackagePath() . '/' . FILENAME_BLOCK_ICON)) {
            return $this->getPackageURL($pkg) . '/' . FILENAME_BLOCK_ICON;
        } else {
            return PACKAGE_GENERIC_ICON;
        }
    }
public function getPackageIconURL($pkg)
    {
        if ($pkg && file_exists($pkg->getPackagePath() . '/' . FILENAME_BLOCK_ICON)) {
            return $this->getPackageURL($pkg) . '/' . FILENAME_BLOCK_ICON;
        } else {
            return PACKAGE_GENERIC_ICON;
        }
    }
public function getPackageIconURL ( $ pkg ) { if ( $ pkg && file_exists ( $ pkg -> getPackagePath ( ) . '/' . FILENAME_BLOCK_ICON ) ) { return $ this -> getPackageURL ( $ pkg ) . '/' . FILENAME_BLOCK_ICON ; } else { return PACKAGE_GENERIC_ICON ; } }
Gets a full URL to an icon for a particular application.

@param \Package $pkg

@return string URL to the package's icon
Gets a full URL to an icon for a particular application .