@@ -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'; |
@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | * An array containing editor properties as returned from hook_editor(). |
45 | 45 | * |
46 | 46 | * @return |
47 | - * The installed editor version. |
|
47 | + null|string The installed editor version. |
|
48 | 48 | */ |
49 | 49 | function wysiwyg_markitup_version($editor) { |
50 | 50 | // Changelog was in markitup/markitup/readme.txt <= 1.1.5. |
@@ -74,7 +74,7 @@ discard block |
||
74 | 74 | * A wysiwyg editor profile. |
75 | 75 | * |
76 | 76 | * @return |
77 | - * An array of theme names. The first returned name should be the default |
|
77 | + string[] An array of theme names. The first returned name should be the default |
|
78 | 78 | * theme name. |
79 | 79 | */ |
80 | 80 | function wysiwyg_markitup_themes($editor, $profile) { |
@@ -38,7 +38,7 @@ |
||
38 | 38 | * An array containing editor properties as returned from hook_editor(). |
39 | 39 | * |
40 | 40 | * @return |
41 | - * The installed editor version. |
|
41 | + string The installed editor version. |
|
42 | 42 | */ |
43 | 43 | function wysiwyg_nicedit_version($editor) { |
44 | 44 | // @see http://nicedit.com/forums/viewtopic.php?t=425 |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | * An array containing editor properties as returned from hook_editor(). |
42 | 42 | * |
43 | 43 | * @return |
44 | - * The installed editor version. |
|
44 | + null|string The installed editor version. |
|
45 | 45 | */ |
46 | 46 | function wysiwyg_openwysiwyg_version($editor) { |
47 | 47 | // 'library path' has '/scripts' appended already. |
@@ -67,7 +67,7 @@ discard block |
||
67 | 67 | * A wysiwyg editor profile. |
68 | 68 | * |
69 | 69 | * @return |
70 | - * An array of theme names. The first returned name should be the default |
|
70 | + string[] An array of theme names. The first returned name should be the default |
|
71 | 71 | * theme name. |
72 | 72 | */ |
73 | 73 | function wysiwyg_openwysiwyg_themes($editor, $profile) { |