@@ -68,6 +68,7 @@ |
||
68 | 68 | * custom multiple value widgets but don't need any other special multiple |
69 | 69 | * values handling. This will call the field generation function |
70 | 70 | * a random number of times and compile the results into a node array. |
71 | + * @param string $function |
|
71 | 72 | */ |
72 | 73 | function content_devel_multiple($function, $node, $field) { |
73 | 74 | $node_field = array(); |
@@ -31,7 +31,7 @@ |
||
31 | 31 | * the form_state for the above form |
32 | 32 | * @param $field |
33 | 33 | * the field array to use to create the form element |
34 | - * @param $get_delta |
|
34 | + * @param integer $get_delta |
|
35 | 35 | * use to get only a specific delta value of a multiple value field, otherwise |
36 | 36 | * function will return the entire $field form element. |
37 | 37 | */ |
@@ -289,6 +289,7 @@ |
||
289 | 289 | /** |
290 | 290 | * Returns the fields of a given field type only. |
291 | 291 | * Suitable for using it with #options. |
292 | + * @param string $type |
|
292 | 293 | */ |
293 | 294 | function content_rules_get_field_names_by_type($type = NULL) { |
294 | 295 | $fields = array(); |
@@ -607,7 +607,7 @@ |
||
607 | 607 | } |
608 | 608 | |
609 | 609 | /** |
610 | - * @return a code representation of the recorded macro. |
|
610 | + * @return string|null code representation of the recorded macro. |
|
611 | 611 | */ |
612 | 612 | function content_copy_get_macro() { |
613 | 613 | // Define the indexes for the evaluated code. |
@@ -788,7 +788,7 @@ |
||
788 | 788 | * @param $ids |
789 | 789 | * Optional node ids to lookup (the $string and $match arguments will be |
790 | 790 | * ignored). |
791 | - * @param $limit |
|
791 | + * @param integer $limit |
|
792 | 792 | * If non-zero, limit the size of the result set. |
793 | 793 | * |
794 | 794 | * @return |
@@ -653,7 +653,7 @@ |
||
653 | 653 | * @param $ids |
654 | 654 | * Optional user ids to lookup (the $string and $match arguments will be |
655 | 655 | * ignored). |
656 | - * @param $limit |
|
656 | + * @param integer $limit |
|
657 | 657 | * If non-zero, limit the size of the result set. |
658 | 658 | * |
659 | 659 | * @return |
@@ -99,6 +99,7 @@ discard block |
||
99 | 99 | |
100 | 100 | /** |
101 | 101 | * Presents a node editing or adding form for the given content profile. |
102 | + * @param string $type |
|
102 | 103 | */ |
103 | 104 | function content_profile_page_edit($type, $account) { |
104 | 105 | drupal_set_title(check_plain($account->name)); |
@@ -211,7 +212,7 @@ discard block |
||
211 | 212 | * @param $op |
212 | 213 | * When set to 'types', content profile content types are returned |
213 | 214 | * as type objects. When set to 'names', only their type names are returned. |
214 | - * @param $setting |
|
215 | + * @param string $setting |
|
215 | 216 | * If set, only content types that have this setting activated are returned. |
216 | 217 | * Leave it NULL to get all content profile types. |
217 | 218 | * @param $value |
@@ -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'); |