diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-04-18 22:46:50 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-04-18 22:46:50 +0200 |
commit | c922b09f2636cd55591f37287c5d4df40f4171ab (patch) | |
tree | 3b0ebfbe79329835bbd5bf8c86421159303794b3 | |
parent | d45d246e3b088b19d1c4cfed75ab87c12ecea2de (diff) | |
parent | 9ffac12986dd24a3c1e1430be292311e2298599b (diff) | |
download | nextcloud-server-c922b09f2636cd55591f37287c5d4df40f4171ab.tar.gz nextcloud-server-c922b09f2636cd55591f37287c5d4df40f4171ab.zip |
Merge pull request #15725 from owncloud/l10n-public-interface
IL10n - add PHPDoc for $options
-rw-r--r-- | lib/public/il10n.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/public/il10n.php b/lib/public/il10n.php index edb66392435..e1d0102105b 100644 --- a/lib/public/il10n.php +++ b/lib/public/il10n.php @@ -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()); /** |