diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-04-16 17:00:08 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-04-16 17:00:08 +0200 |
commit | 7644950b48b094bfe5675348aefb7cf5747d325b (patch) | |
tree | a1792e21239a86f471da99b454134a5d8533ef77 /lib/public/il10n.php | |
parent | 8653da6c16597959c7bd0f0b202747ff96204575 (diff) | |
download | nextcloud-server-7644950b48b094bfe5675348aefb7cf5747d325b.tar.gz nextcloud-server-7644950b48b094bfe5675348aefb7cf5747d325b.zip |
Add @since tags to all methods in public namespace
* enhance the app development experience - you can look up the
method introduction right inside the code without searching
via git blame
* easier to write apps for multiple versions
Diffstat (limited to 'lib/public/il10n.php')
-rw-r--r-- | lib/public/il10n.php | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/public/il10n.php b/lib/public/il10n.php index 35c09268825..edb66392435 100644 --- a/lib/public/il10n.php +++ b/lib/public/il10n.php @@ -35,7 +35,10 @@ namespace OCP; /** - * TODO: Description + * Interface IL10N + * + * @package OCP + * @since 6.0.0 */ interface IL10N { /** @@ -46,6 +49,7 @@ interface IL10N { * * Returns the translation. If no translation is found, $text will be * returned. + * @since 6.0.0 */ public function t($text, $parameters = array()); @@ -62,6 +66,7 @@ interface IL10N { * * The correct plural is determined by the plural_forms-function * provided by the po file. + * @since 6.0.0 * */ public function n($text_singular, $text_plural, $count, $parameters = array()); @@ -87,6 +92,7 @@ interface IL10N { * - Creates a time * - l10n-field: time * - params: timestamp (int/string) + * @since 6.0.0 */ public function l($type, $data); @@ -95,6 +101,7 @@ interface IL10N { * The code (en, de, ...) of the language that is used for this OC_L10N object * * @return string language + * @since 7.0.0 */ public function getLanguageCode(); } |