From c82a0b74cfc009af61aa1bfc5e220ec82b441f7a Mon Sep 17 00:00:00 2001 From: Shitiz Garg Date: Sun, 22 Jun 2014 19:18:08 +0530 Subject: [PATCH] [ticket/12759] Add phpDoc comments to explain get_option_lang PHPBB3-12759 --- phpBB/phpbb/profilefields/lang_helper.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/phpBB/phpbb/profilefields/lang_helper.php b/phpBB/phpbb/profilefields/lang_helper.php index 2ea3066f94..86c4e6ff72 100644 --- a/phpBB/phpbb/profilefields/lang_helper.php +++ b/phpBB/phpbb/profilefields/lang_helper.php @@ -50,6 +50,10 @@ class lang_helper /** * Get language entries for options and store them here for later use + * + * @param mixed $field_id Can be an int or an array of int for multiple field IDs + * @param int $lang_id + * @param mixed $preview_options If set to not false, $field_id cannot be an array */ public function get_option_lang($field_id, $lang_id, $preview_options) {