Exemplo n.º 1
0
 /**
  * Returns the default localization.
  *
  * @api
  * @author David Pauli <*****@*****.**>
  * @since 0.0.0
  * @return String|null Default localization or null if the REST call does fail.
  */
 public function getDefaultLocales()
 {
     return Locales::getDefault();
 }
Exemplo n.º 2
0
 /**
  * Returns the default localization.
  *
  * @author David Pauli <*****@*****.**>
  * @return String|null Default localization or null if the REST call does fail.
  * @since 0.0.0
  * @since 0.1.2 Add error reporting.
  */
 public function getDefaultLocale()
 {
     self::errorReset();
     return Locales::getDefault();
 }
 /**
  * Gets the email in the default localization.
  *
  * @author David Pauli <*****@*****.**>
  * @since 0.0.0
  * @since 0.1.0 Deprecated because the Locale is everytime the configured Locale.
  * @api
  * @deprecated
  * @return String|null The email in the default localization or null if the default email address is unset.
  */
 public function getDefaultEmail()
 {
     return self::getEmail(Locales::getDefault());
 }
 /**
  * Gets the email in the default localization.
  *
  * @author David Pauli <*****@*****.**>
  * @since 0.0.0
  * @since 0.1.0 Deprecated because the Locale is everytime the configured Locale.
  * @since 0.1.1 Unstatic every attributes.
  * @api
  * @deprecated
  * @return String|null The email in the default localization or null if the default email address is unset.
  */
 public function getDefaultEmail()
 {
     return $this->getEmail(Locales::getDefault());
 }