]> source.dussan.org Git - nextcloud-server.git/commitdiff
IL10n - add PHPDoc for $options
authorMorris Jobke <hey@morrisjobke.de>
Sat, 18 Apr 2015 13:50:17 +0000 (15:50 +0200)
committerMorris Jobke <hey@morrisjobke.de>
Sat, 18 Apr 2015 13:50:17 +0000 (15:50 +0200)
* added in #11549
* undocumented in the public interface

lib/public/il10n.php

index edb66392435ea2c43e69a626a47e08fcb2220682..e1d0102105b1b562ee4369dba9ac038787227049 100644 (file)
@@ -75,6 +75,8 @@ interface IL10N {
         * Localization
         * @param string $type Type of localization
         * @param array $data parameters for this localization
+        * @param array $options currently supports following options:
+        *                      - 'width': handed into \Punic\Calendar::formatDate as second parameter
         * @return string|false
         *
         * Returns the localized data.
@@ -92,9 +94,9 @@ interface IL10N {
         *    - Creates a time
         *    - l10n-field: time
         *    - params: timestamp (int/string)
-        * @since 6.0.0
+        * @since 6.0.0 - parameter $options was added in 8.0.0
         */
-       public function l($type, $data);
+       public function l($type, $data, $options = array());
 
 
        /**