@@ -10,6 +10,7 @@ discard block |
||
10 | 10 | |
11 | 11 | /** |
12 | 12 | * Rewrite the forum administration page with our new access rules. |
13 | + * @param boolean $is_container |
|
13 | 14 | */ |
14 | 15 | function _forum_access_forum_form(&$form, &$form_state, $is_container) { |
15 | 16 | $tid = (isset($form['tid']['#value']) ? $form['tid']['#value'] : NULL); |
@@ -663,6 +664,8 @@ discard block |
||
663 | 664 | * This is a multistep operation : we go through all nodes by packs of 20. |
664 | 665 | * The batch processing engine interrupts processing and sends progress |
665 | 666 | * feedback after 1 second execution time. |
667 | + * @param integer $limit |
|
668 | + * @param integer $count |
|
666 | 669 | */ |
667 | 670 | function _forum_access_update_batch_operation($tid, $limit, $count, &$context) { |
668 | 671 | if (empty($context['sandbox'])) { |
@@ -693,6 +696,7 @@ discard block |
||
693 | 696 | |
694 | 697 | /** |
695 | 698 | * Post-processing for forum_access_form_submit(). |
699 | + * @param boolean $success |
|
696 | 700 | */ |
697 | 701 | function _forum_access_update_batch_finished($success, $results, $operations) { |
698 | 702 | if ($success) { |
@@ -143,7 +143,7 @@ |
||
143 | 143 | * Return the Views fields that should be translated. |
144 | 144 | * |
145 | 145 | * @return |
146 | - * Array of field names. |
|
146 | + string[] Array of field names. |
|
147 | 147 | */ |
148 | 148 | function _i18nviews_display_fields() { |
149 | 149 | return array('title', 'header', 'footer', 'empty'); |
@@ -161,7 +161,6 @@ |
||
161 | 161 | * |
162 | 162 | * @param array $form_state |
163 | 163 | * @param array $options |
164 | - * @param integer $active |
|
165 | 164 | * @return array |
166 | 165 | */ |
167 | 166 | function jump_quickly_form(&$form_state, $options, $menu_state) { |
@@ -374,7 +374,7 @@ discard block |
||
374 | 374 | * messages from. |
375 | 375 | * |
376 | 376 | * @return |
377 | - * TRUE if the user is allowed to block $account, or FALSE if not. |
|
377 | + boolean TRUE if the user is allowed to block $account, or FALSE if not. |
|
378 | 378 | */ |
379 | 379 | function _pm_block_user_access($account) { |
380 | 380 | global $user; |
@@ -399,11 +399,11 @@ discard block |
||
399 | 399 | * Author user object to check. |
400 | 400 | * @param $recipient |
401 | 401 | * Receiver user object to check. |
402 | - * @param $action |
|
402 | + * @param integer $action |
|
403 | 403 | * The action to be taken, defaults to PM_BLOCK_USER_DISALLOW_BLOCKING. |
404 | 404 | * |
405 | 405 | * @return |
406 | - * TRUE if a rule exists for the combination of author recipient and action. |
|
406 | + boolean TRUE if a rule exists for the combination of author recipient and action. |
|
407 | 407 | */ |
408 | 408 | function _pm_block_user_rule_exists($author, $recipient, $action = PM_BLOCK_USER_DISALLOW_BLOCKING) { |
409 | 409 | $block_actions = variable_get('pm_block_user_actions', array()); |
@@ -148,6 +148,8 @@ |
||
148 | 148 | * Implements hook_user(). |
149 | 149 | * |
150 | 150 | * Display settings form and store its information. |
151 | + * @param string $op |
|
152 | + * @param string $category |
|
151 | 153 | */ |
152 | 154 | function pm_email_notify_user($op, &$edit, &$account, $category = NULL) { |
153 | 155 | switch ($op) { |
@@ -37,6 +37,7 @@ discard block |
||
37 | 37 | * |
38 | 38 | * @param $userstring |
39 | 39 | * A string with user id, for example 1,2,4. Returned by the list query |
40 | + * @param integer $slice |
|
40 | 41 | * |
41 | 42 | * @return |
42 | 43 | * Array with user objects. |
@@ -72,7 +73,7 @@ discard block |
||
72 | 73 | * Array with user objects, for example the one returnd by |
73 | 74 | * _privatemsg_generate_user_array. |
74 | 75 | * |
75 | - * @param $limit |
|
76 | + * @param integer $limit |
|
76 | 77 | * Limit the number of user objects which should be displayed. |
77 | 78 | * @param $no_text |
78 | 79 | * When TRUE, don't display the Participants/From text. |
@@ -215,7 +216,7 @@ discard block |
||
215 | 216 | * Permission string, defaults to read privatemsg |
216 | 217 | * |
217 | 218 | * @return |
218 | - * TRUE if user has access, FALSE if not |
|
219 | + boolean TRUE if user has access, FALSE if not |
|
219 | 220 | * |
220 | 221 | * @ingroup api |
221 | 222 | */ |
@@ -730,7 +731,7 @@ discard block |
||
730 | 731 | * |
731 | 732 | * @param $pmid |
732 | 733 | * Message id |
733 | - * @param $status |
|
734 | + * @param integer $status |
|
734 | 735 | * Either PRIVATEMSG_READ or PRIVATEMSG_UNREAD |
735 | 736 | * @param $account |
736 | 737 | * User object, defaults to the current user |
@@ -1949,9 +1950,10 @@ discard block |
||
1949 | 1950 | * Recipient of the message |
1950 | 1951 | * @param $account |
1951 | 1952 | * Sender of the message, defaults to the current user |
1953 | + * @param string $subject |
|
1952 | 1954 | * |
1953 | 1955 | * @return |
1954 | - * Either FALSE or a URL string |
|
1956 | + false|string Either FALSE or a URL string |
|
1955 | 1957 | * |
1956 | 1958 | * @ingroup api |
1957 | 1959 | */ |
@@ -2273,7 +2275,7 @@ discard block |
||
2273 | 2275 | * |
2274 | 2276 | * Uses @link theming theme patterns @endlink to theme single headers. |
2275 | 2277 | * |
2276 | - * @param $has_posts |
|
2278 | + * @param boolean $has_posts |
|
2277 | 2279 | * TRUE when there is at least one row. Decides if the select all checkbox |
2278 | 2280 | * should be displayed. |
2279 | 2281 | * @param $keys |
@@ -55,7 +55,7 @@ |
||
55 | 55 | * An array containing editor properties as returned from hook_editor(). |
56 | 56 | * |
57 | 57 | * @return |
58 | - * The installed editor version. |
|
58 | + null|string The installed editor version. |
|
59 | 59 | */ |
60 | 60 | function wysiwyg_ckeditor_version($editor) { |
61 | 61 | $library = $editor['library path'] . '/ckeditor.js'; |
@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | * An array containing editor properties as returned from hook_editor(). |
48 | 48 | * |
49 | 49 | * @return |
50 | - * The installed editor version. |
|
50 | + null|string The installed editor version. |
|
51 | 51 | */ |
52 | 52 | function wysiwyg_fckeditor_version($editor) { |
53 | 53 | $library = $editor['library path'] . '/fckeditor.js'; |
@@ -75,7 +75,7 @@ discard block |
||
75 | 75 | * A wysiwyg editor profile. |
76 | 76 | * |
77 | 77 | * @return |
78 | - * An array of theme names. The first returned name should be the default |
|
78 | + string[] An array of theme names. The first returned name should be the default |
|
79 | 79 | * theme name. |
80 | 80 | */ |
81 | 81 | function wysiwyg_fckeditor_themes($editor, $profile) { |
@@ -43,7 +43,7 @@ |
||
43 | 43 | * An array containing editor properties as returned from hook_editor(). |
44 | 44 | * |
45 | 45 | * @return |
46 | - * The installed editor version. |
|
46 | + null|string The installed editor version. |
|
47 | 47 | */ |
48 | 48 | function wysiwyg_jwysiwyg_version($editor) { |
49 | 49 | $script = $editor['library path'] . '/jquery.wysiwyg.js'; |