From 64d91b194f21810315483d6d7ea4018f85102ffc Mon Sep 17 00:00:00 2001 From: Molkobain Date: Tue, 12 Oct 2021 18:01:45 +0200 Subject: [PATCH] PHPDoc --- sources/application/Branding.php | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/sources/application/Branding.php b/sources/application/Branding.php index a804f4ad99..561a30c7dc 100644 --- a/sources/application/Branding.php +++ b/sources/application/Branding.php @@ -58,7 +58,7 @@ class Branding ]; /** - * Return the absolute URL for the full main logo + * Return the absolute URL for the type of logo defined by $sType * * @param string $sType Type of the logo to return * @see static::ENUM_LOGO_TYPE_XXX @@ -81,6 +81,15 @@ class Branding return utils::GetAbsoluteUrlAppRoot().$sDefaultLogoPath.'?t='.utils::GetCacheBusterTimestamp(); } + /** + * Return the relative path for the type of logo defined by $sType + * + * @param string $sType Type of the logo to return + * @see static::ENUM_LOGO_TYPE_XXX + * + * @return string + * @throws \Exception + */ public static function GetLogoRelativePath($sType = self::DEFAULT_LOGO_TYPE) { $sDefaultLogoPath = static::$aLogoPaths[$sType]['default'];