fix defaults.php doc

This commit is contained in:
Morris Jobke 2013-11-25 14:26:26 +01:00
parent 7f47cc062c
commit 248eed16a6
1 changed files with 18 additions and 10 deletions

View File

@ -30,19 +30,27 @@
// This means that they should be used by apps instead of the internal ownCloud classes // This means that they should be used by apps instead of the internal ownCloud classes
namespace OCP; namespace OCP;
/* /**
* public api to access default strings and urls for your templates * public api to access default strings and urls for your templates
*/ */
class Defaults { class Defaults {
/**
* \OC_Defaults instance to retrieve the defaults
* @return string
*/
private $defaults; private $defaults;
/**
* creates a \OC_Defaults instance which is used in all methods to retrieve the
* actual defaults
*/
function __construct() { function __construct() {
$this->defaults = new \OC_Defaults(); $this->defaults = new \OC_Defaults();
} }
/** /**
* @breif get base URL for the organisation behind your ownCloud instance * get base URL for the organisation behind your ownCloud instance
* @return string * @return string
*/ */
public function getBaseUrl() { public function getBaseUrl() {
@ -50,7 +58,7 @@ class Defaults {
} }
/** /**
* @breif link to the desktop sync client * link to the desktop sync client
* @return string * @return string
*/ */
public function getSyncClientUrl() { public function getSyncClientUrl() {
@ -58,7 +66,7 @@ class Defaults {
} }
/** /**
* @breif base URL to the documentation of your ownCloud instance * base URL to the documentation of your ownCloud instance
* @return string * @return string
*/ */
public function getDocBaseUrl() { public function getDocBaseUrl() {
@ -66,7 +74,7 @@ class Defaults {
} }
/** /**
* @breif name of your ownCloud instance * name of your ownCloud instance
* @return string * @return string
*/ */
public function getName() { public function getName() {
@ -74,7 +82,7 @@ class Defaults {
} }
/** /**
* @breif Entity behind your onwCloud instance * Entity behind your onwCloud instance
* @return string * @return string
*/ */
public function getEntity() { public function getEntity() {
@ -82,7 +90,7 @@ class Defaults {
} }
/** /**
* @breif ownCloud slogan * ownCloud slogan
* @return string * @return string
*/ */
public function getSlogan() { public function getSlogan() {
@ -90,7 +98,7 @@ class Defaults {
} }
/** /**
* @breif logo claim * logo claim
* @return string * @return string
*/ */
public function getLogoClaim() { public function getLogoClaim() {
@ -98,7 +106,7 @@ class Defaults {
} }
/** /**
* @breif footer, short version * footer, short version
* @return string * @return string
*/ */
public function getShortFooter() { public function getShortFooter() {
@ -106,7 +114,7 @@ class Defaults {
} }
/** /**
* @breif footer, long version * footer, long version
* @return string * @return string
*/ */
public function getLongFooter() { public function getLongFooter() {