[Pkg-owncloud-commits] [owncloud] 64/165: IL10n - add PHPDoc for $options
David Prévot
taffit at moszumanska.debian.org
Thu Apr 23 04:06:28 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch stable8
in repository owncloud.
commit 9ffac12986dd24a3c1e1430be292311e2298599b
Author: Morris Jobke <hey at morrisjobke.de>
Date: Sat Apr 18 15:50:17 2015 +0200
IL10n - add PHPDoc for $options
* added in #11549
* undocumented in the public interface
---
lib/public/il10n.php | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/lib/public/il10n.php b/lib/public/il10n.php
index edb6639..e1d0102 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());
/**
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list