Defaults¶
-
class
OCP\
Defaults
¶ - public api to access default strings and urls for your templates
Source: lib/public/Defaults.php#46
Properties¶
Methods¶
-
public
OCP\Defaults::
__construct
($defaults=null)¶ - creates a \OC_Defaults instance which is used in all methods to retrieve theactual defaults
Source: lib/public/Defaults.php#59 Since: 6.0.0
-
public
OCP\Defaults::
getBaseUrl
()¶ - get base URL for the organisation behind your ownCloud instance
Source: lib/public/Defaults.php#71 Returns: string Since: 6.0.0
-
public
OCP\Defaults::
getSyncClientUrl
()¶ - link to the desktop sync client
Source: lib/public/Defaults.php#80 Returns: string Since: 6.0.0
-
public
OCP\Defaults::
getiOSClientUrl
()¶ - link to the iOS client
Source: lib/public/Defaults.php#89 Returns: string Since: 8.0.0
-
public
OCP\Defaults::
getAndroidClientUrl
()¶ - link to the Android client
Source: lib/public/Defaults.php#98 Returns: string Since: 8.0.0
-
public
OCP\Defaults::
getDocBaseUrl
()¶ - base URL to the documentation of your ownCloud instance
Source: lib/public/Defaults.php#107 Returns: string Since: 6.0.0
-
public
OCP\Defaults::
getName
()¶ - name of your ownCloud instance
Source: lib/public/Defaults.php#116 Returns: string Since: 6.0.0
-
public
OCP\Defaults::
getHTMLName
()¶ - name of your ownCloud instance containing HTML styles
Source: lib/public/Defaults.php#126 Returns: string Since: 8.0.0
-
public
OCP\Defaults::
getEntity
()¶ - Entity behind your onwCloud instance
Source: lib/public/Defaults.php#135 Returns: string Since: 6.0.0
-
public
OCP\Defaults::
getSlogan
($lang=null)¶ - ownCloud slogan
Source: lib/public/Defaults.php#144 Returns: string Since: 6.0.0
- footer, short version
Source: lib/public/Defaults.php#153 Returns: string Since: 6.0.0
- footer, long version
Source: lib/public/Defaults.php#162 Returns: string Since: 6.0.0
-
public
OCP\Defaults::
getiTunesAppId
()¶ - Returns the AppId for the App Store for the iOS Client
Source: lib/public/Defaults.php#171 Returns: string AppId Since: 8.0.0
-
public
OCP\Defaults::
getLogo
($useSvg=true)¶ - Themed logo url
Source: Parameters: - $useSvg (bool) Whether to point to the SVG image or a fallback
Returns: string
Since: 12.0.0
-
public
OCP\Defaults::
getColorPrimary
()¶ - Returns primary color
Source: lib/public/Defaults.php#191 Returns: string Since: 12.0.0
-
public
OCP\Defaults::
buildDocLinkToKey
($key)¶ Source: Parameters: - $key (string)
Returns: string URL to doc with key
Since: 12.0.0
-
public
OCP\Defaults::
getTitle
()¶ - Returns the title
Source: lib/public/Defaults.php#209 Returns: string title Since: 12.0.0
-
public
OCP\Defaults::
getTextColorPrimary
()¶ - Returns primary color
Source: lib/public/Defaults.php#218 Returns: string Since: 13.0.0