@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | * |
57 | 57 | * @see GVCommon::get_form_fields() |
58 | 58 | * @access public |
59 | - * @param string|array $form_id (default: '') or $form object |
|
59 | + * @param string|array $form (default: '') or $form object |
|
60 | 60 | * @return array |
61 | 61 | */ |
62 | 62 | function gravityview_get_form_fields( $form = '', $add_default_properties = false, $include_parent_field = true ) { |
@@ -94,6 +94,7 @@ discard block |
||
94 | 94 | * @param int|array $form_ids The ID of the form or an array IDs of the Forms. Zero for all forms. |
95 | 95 | * @param mixed $passed_criteria (default: null) |
96 | 96 | * @param mixed &$total (default: null) |
97 | + * @param integer $total |
|
97 | 98 | * @return mixed False: Error fetching entries. Array: Multi-dimensional array of Gravity Forms entry arrays |
98 | 99 | */ |
99 | 100 | function gravityview_get_entries( $form_ids = null, $passed_criteria = null, &$total = null ) { |
@@ -106,7 +107,6 @@ discard block |
||
106 | 107 | * Since 1.4, supports custom entry slugs. The way that GravityView fetches an entry based on the custom slug is by searching `gravityview_unique_id` meta. The `$entry_slug` is fetched by getting the current query var set by `is_single_entry()` |
107 | 108 | * |
108 | 109 | * @access public |
109 | - * @param mixed $entry_id |
|
110 | 110 | * @param boolean $force_allow_ids Force the get_entry() method to allow passed entry IDs, even if the `gravityview_custom_entry_slug_allow_id` filter returns false. |
111 | 111 | * @param boolean $check_entry_display Check whether the entry is visible for the current View configuration. Default: true {@since 1.14} |
112 | 112 | * @return array|boolean |
@@ -193,7 +193,6 @@ discard block |
||
193 | 193 | * |
194 | 194 | * @see GravityView_Template::template_id |
195 | 195 | * |
196 | - * @param int $view_id The ID of the View to get the layout of |
|
197 | 196 | * |
198 | 197 | * @return string GravityView_Template::template_id value. Empty string if not. |
199 | 198 | */ |
@@ -265,7 +265,7 @@ discard block |
||
265 | 265 | * |
266 | 266 | * @uses GravityView_frontend::get_search_criteria() Convert the $_POST search request into a properly formatted request. |
267 | 267 | * @access public |
268 | - * @return void|boolean |
|
268 | + * @return false|null |
|
269 | 269 | */ |
270 | 270 | public function process_bulk_action() { |
271 | 271 | |
@@ -362,7 +362,7 @@ discard block |
||
362 | 362 | * @since 1.18 Moved to GravityView_Entry_Approval::get_approved_column |
363 | 363 | * @see GravityView_Entry_Approval::get_approved_column |
364 | 364 | * |
365 | - * @param mixed $form GF Form or Form ID |
|
365 | + * @param integer $form GF Form or Form ID |
|
366 | 366 | * @return false|null|string Returns the input ID of the approved field. Returns NULL if no approved fields were found. Returns false if $form_id wasn't set. |
367 | 367 | */ |
368 | 368 | static public function get_approved_column( $form ) { |
@@ -59,7 +59,6 @@ |
||
59 | 59 | * |
60 | 60 | * @param string $output HTML value output |
61 | 61 | * @param array $entry The GF entry array |
62 | - * @param array $field_settings Settings for the particular GV field |
|
63 | 62 | * @param array $field Field array, as fetched from GravityView_View::getCurrentField() |
64 | 63 | * |
65 | 64 | * @return string The field setting label for the current status. Uses defaults, if not configured. |
@@ -371,7 +371,7 @@ discard block |
||
371 | 371 | * @param int $entry_id ID of the Gravity Forms entry |
372 | 372 | * @param string $status String whether entry is approved or not. `0` for not approved, `Approved` for approved. |
373 | 373 | * @param int $form_id ID of the form of the entry being updated. Improves query performance. |
374 | - * @param string $approvedcolumn Gravity Forms Field ID |
|
374 | + * @param integer $approvedcolumn Gravity Forms Field ID |
|
375 | 375 | * |
376 | 376 | * @return true|WP_Error |
377 | 377 | */ |
@@ -422,7 +422,7 @@ discard block |
||
422 | 422 | * |
423 | 423 | * When approving a field via the entry meta, we |
424 | 424 | * |
425 | - * @param array|int $form Form ID or form array |
|
425 | + * @param integer $form Form ID or form array |
|
426 | 426 | * @param string $approved_column Approved column field ID |
427 | 427 | * |
428 | 428 | * @return string|null |
@@ -217,7 +217,7 @@ discard block |
||
217 | 217 | * Return array of fields' id and label, for a given Form ID |
218 | 218 | * |
219 | 219 | * @access public |
220 | - * @param string|array $form_id (default: '') or $form object |
|
220 | + * @param string|array $form (default: '') or $form object |
|
221 | 221 | * @param bool $add_default_properties |
222 | 222 | * @param bool $include_parent_field |
223 | 223 | * @return array |
@@ -882,7 +882,7 @@ discard block |
||
882 | 882 | * |
883 | 883 | * @param array $form Gravity Forms form array |
884 | 884 | * @param string $field_id ID of the field. If an input, full input ID (like `1.3`) |
885 | - * @param string|array $field_value Raw value of the field. |
|
885 | + * @param string $field_value Raw value of the field. |
|
886 | 886 | * @return string |
887 | 887 | */ |
888 | 888 | public static function get_field_label( $form = array(), $field_id = '', $field_value = '' ) { |
@@ -1514,6 +1514,7 @@ discard block |
||
1514 | 1514 | * @param string $notice text/HTML of notice |
1515 | 1515 | * @param string $class CSS class for notice (`updated` or `error`) |
1516 | 1516 | * @param string $cap [Optional] Define a capability required to show a notice. If not set, displays to all caps. |
1517 | + * @param integer $object_id |
|
1517 | 1518 | * |
1518 | 1519 | * @return string |
1519 | 1520 | */ |
@@ -1557,9 +1558,9 @@ discard block |
||
1557 | 1558 | * @param string $message Message body (required) |
1558 | 1559 | * @param string $from_name Displayed name of the sender |
1559 | 1560 | * @param string $message_format If "html", sent text as `text/html`. Otherwise, `text/plain`. Default: "html". |
1560 | - * @param string|array $attachments Optional. Files to attach. {@see wp_mail()} for usage. Default: "". |
|
1561 | + * @param string $attachments Optional. Files to attach. {@see wp_mail()} for usage. Default: "". |
|
1561 | 1562 | * @param array|false $entry Gravity Forms entry array, related to the email. Default: false. |
1562 | - * @param array|false $notification Gravity Forms notification that triggered the email. {@see GFCommon::send_notification}. Default:false. |
|
1563 | + * @param boolean $notification Gravity Forms notification that triggered the email. {@see GFCommon::send_notification}. Default:false. |
|
1563 | 1564 | */ |
1564 | 1565 | public static function send_email( $from, $to, $bcc, $reply_to, $subject, $message, $from_name = '', $message_format = 'html', $attachments = '', $entry = false, $notification = false ) { |
1565 | 1566 |
@@ -153,7 +153,7 @@ discard block |
||
153 | 153 | |
154 | 154 | /** |
155 | 155 | * Sets the single entry ID and also the entry |
156 | - * @param bool|int|string $single_entry |
|
156 | + * @param boolean|string $single_entry |
|
157 | 157 | */ |
158 | 158 | public function setSingleEntry( $single_entry ) { |
159 | 159 | |
@@ -170,7 +170,7 @@ discard block |
||
170 | 170 | |
171 | 171 | /** |
172 | 172 | * Set the current entry |
173 | - * @param array|int $entry Entry array or entry slug or ID |
|
173 | + * @param boolean|string $entry Entry array or entry slug or ID |
|
174 | 174 | */ |
175 | 175 | public function setEntry( $entry ) { |
176 | 176 | |
@@ -228,7 +228,7 @@ discard block |
||
228 | 228 | * |
229 | 229 | * |
230 | 230 | * |
231 | - * @param null $view_id |
|
231 | + * @param string $view_id |
|
232 | 232 | */ |
233 | 233 | public function set_context_view_id( $view_id = null ) { |
234 | 234 | |
@@ -558,7 +558,6 @@ discard block |
||
558 | 558 | * |
559 | 559 | * @since 1.19.2 |
560 | 560 | * |
561 | - * @param string $context The current context that has no configuration |
|
562 | 561 | * |
563 | 562 | * @return void |
564 | 563 | */ |
@@ -1091,7 +1090,7 @@ discard block |
||
1091 | 1090 | * |
1092 | 1091 | * @uses gravityview_get_entries() |
1093 | 1092 | * @access public |
1094 | - * @param array $args\n |
|
1093 | + * @param array $args |
|
1095 | 1094 | * - $id - View id |
1096 | 1095 | * - $page_size - Page |
1097 | 1096 | * - $sort_field - form field id to sort |
@@ -1551,7 +1550,7 @@ discard block |
||
1551 | 1550 | /** |
1552 | 1551 | * Checks if field (column) is sortable |
1553 | 1552 | * |
1554 | - * @param string $field Field settings |
|
1553 | + * @param string $field_id Field settings |
|
1555 | 1554 | * @param array $form Gravity Forms form array |
1556 | 1555 | * |
1557 | 1556 | * @since 1.7 |
@@ -86,7 +86,6 @@ discard block |
||
86 | 86 | * |
87 | 87 | * @since 1.19.3 |
88 | 88 | * |
89 | - * @param bool $force Whether to force checking license, even if AJAX |
|
90 | 89 | * |
91 | 90 | * @return void |
92 | 91 | */ |
@@ -272,6 +271,9 @@ discard block |
||
272 | 271 | return $implode ? implode( $implode, $extensions ) : $extensions; |
273 | 272 | } |
274 | 273 | |
274 | + /** |
|
275 | + * @param boolean $echo |
|
276 | + */ |
|
275 | 277 | function settings_edd_license_activation( $field, $echo ) { |
276 | 278 | |
277 | 279 | $script_debug = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : '.min'; |
@@ -464,7 +466,7 @@ discard block |
||
464 | 466 | * Generate the status message box HTML based on the current status |
465 | 467 | * |
466 | 468 | * @since 1.7.4 |
467 | - * @param $message |
|
469 | + * @param string $message |
|
468 | 470 | * @param string $class |
469 | 471 | * |
470 | 472 | * @return string |