OC_Defaults

class OC_Defaults
Source:lib/private/legacy/OC_Defaults.php#39

Properties

Methods

public OC_Defaults::__construct()
Source:lib/private/legacy/OC_Defaults.php#56
public OC_Defaults::getBaseUrl()
Returns the base URL
Source:lib/private/legacy/OC_Defaults.php#98
Returns:string URL
public OC_Defaults::getSyncClientUrl()
Returns the URL where the sync clients are listed
Source:lib/private/legacy/OC_Defaults.php#110
Returns:string URL
public OC_Defaults::getiOSClientUrl()
Returns the URL to the App Store for the iOS Client
Source:lib/private/legacy/OC_Defaults.php#122
Returns:string URL
public OC_Defaults::getiTunesAppId()
Returns the AppId for the App Store for the iOS Client
Source:lib/private/legacy/OC_Defaults.php#134
Returns:string AppId
public OC_Defaults::getAndroidClientUrl()
Returns the URL to Google Play for the Android Client
Source:lib/private/legacy/OC_Defaults.php#146
Returns:string URL
public OC_Defaults::getDocBaseUrl()
Returns the documentation URL
Source:lib/private/legacy/OC_Defaults.php#158
Returns:string URL
public OC_Defaults::getTitle()
Returns the title
Source:lib/private/legacy/OC_Defaults.php#170
Returns:string title
public OC_Defaults::getName()
Returns the short name of the software
Source:lib/private/legacy/OC_Defaults.php#182
Returns:string title
public OC_Defaults::getHTMLName()
Returns the short name of the software containing HTML strings
Source:lib/private/legacy/OC_Defaults.php#194
Returns:string title
public OC_Defaults::getEntity()
Returns entity (e.g. company name) - used for footer, copyright
Source:lib/private/legacy/OC_Defaults.php#206
Returns:string entity name
public OC_Defaults::getSlogan($lang=\null)
Returns slogan
Source:lib/private/legacy/OC_Defaults.php#218
Returns:string slogan
public OC_Defaults::getLogoClaim()
Returns logo claim
Source:lib/private/legacy/OC_Defaults.php#235
Returns:string logo claim
Deprecated:13.0.0
public OC_Defaults::getShortFooter()
Returns short version of the footer
Source:lib/private/legacy/OC_Defaults.php#243
Returns:string short footer
public OC_Defaults::getLongFooter()
Returns long version of the footer
Source:lib/private/legacy/OC_Defaults.php#259
Returns:string long footer
public OC_Defaults::buildDocLinkToKey($key)
Source:

lib/private/legacy/OC_Defaults.php#273

Parameters:
  • $key (string)
Returns:

string URL to doc with key

public OC_Defaults::getColorPrimary()
Returns primary color
Source:lib/private/legacy/OC_Defaults.php#284
Returns:string
public OC_Defaults::getScssVariables()
Source:lib/private/legacy/OC_Defaults.php#297
Returns:array scss variables to overwrite
public OC_Defaults::shouldReplaceIcons()
Source:lib/private/legacy/OC_Defaults.php#304
Themed logo url
Source:

lib/private/legacy/OC_Defaults.php#314

Parameters:
  • $useSvg (bool) Whether to point to the SVG image or a fallback
Returns:

string

public OC_Defaults::getTextColorPrimary()
Source:lib/private/legacy/OC_Defaults.php#327