@@ -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) { |
@@ -77,7 +77,7 @@ discard block |
||
77 | 77 | * An array containing editor properties as returned from hook_editor(). |
78 | 78 | * |
79 | 79 | * @return |
80 | - * The installed editor version. |
|
80 | + null|string The installed editor version. |
|
81 | 81 | */ |
82 | 82 | function wysiwyg_tinymce_version($editor) { |
83 | 83 | $script = $editor['library path'] . '/tiny_mce.js'; |
@@ -104,7 +104,7 @@ discard block |
||
104 | 104 | * A wysiwyg editor profile. |
105 | 105 | * |
106 | 106 | * @return |
107 | - * An array of theme names. The first returned name should be the default |
|
107 | + string[] An array of theme names. The first returned name should be the default |
|
108 | 108 | * theme name. |
109 | 109 | */ |
110 | 110 | function wysiwyg_tinymce_themes($editor, $profile) { |
@@ -44,7 +44,7 @@ |
||
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_whizzywig_version($editor) { |
50 | 50 | $script = $editor['library path'] . '/whizzywig.js'; |