@@ -169,7 +169,6 @@ |
||
169 | 169 | * |
170 | 170 | * @since 1.15.2 |
171 | 171 | * |
172 | - * @param array $handles Array of meta keys to check for existence of shortcodes |
|
173 | 172 | * @param int $post_id The ID being checked by GravityView |
174 | 173 | * |
175 | 174 | * @return array Meta key array, merged with existing meta keys |
@@ -51,6 +51,9 @@ |
||
51 | 51 | // hold widget View options |
52 | 52 | private $widget_options; |
53 | 53 | |
54 | + /** |
|
55 | + * @param string $widget_id |
|
56 | + */ |
|
54 | 57 | function __construct( $widget_label , $widget_id , $defaults = array(), $settings = array() ) { |
55 | 58 | |
56 | 59 |
@@ -993,7 +993,7 @@ |
||
993 | 993 | /** |
994 | 994 | * Modify the array passed to wp_localize_script() |
995 | 995 | * |
996 | - * @param array $js_localization The data padded to the Javascript file |
|
996 | + * @param array $localizations The data padded to the Javascript file |
|
997 | 997 | * @param array $view_data View data array with View settings |
998 | 998 | * |
999 | 999 | * @return array |
@@ -176,6 +176,7 @@ |
||
176 | 176 | * Get the entries that will be shown in the current widget |
177 | 177 | * |
178 | 178 | * @param array $instance Settings for the current widget |
179 | + * @param string $form_id |
|
179 | 180 | * |
180 | 181 | * @return array $entries Multidimensional array of Gravity Forms entries |
181 | 182 | */ |
@@ -158,6 +158,7 @@ |
||
158 | 158 | /** |
159 | 159 | * important! Override this class if needed |
160 | 160 | * outputs the field setting html |
161 | + * @param string $override_input |
|
161 | 162 | */ |
162 | 163 | function render_setting( $override_input = NULL ) { |
163 | 164 |
@@ -214,7 +214,6 @@ discard block |
||
214 | 214 | * |
215 | 215 | * @access public |
216 | 216 | * @param array $entry |
217 | - * @param integer $field |
|
218 | 217 | * @return null|string |
219 | 218 | */ |
220 | 219 | public static function field_value( $entry, $field_settings, $format = 'html' ) { |
@@ -967,7 +966,7 @@ discard block |
||
967 | 966 | * Get the current View ID being rendered |
968 | 967 | * |
969 | 968 | * @global GravityView_View $gravityview_view |
970 | - * @return string View context "directory" or "single" |
|
969 | + * @return integer View context "directory" or "single" |
|
971 | 970 | */ |
972 | 971 | function gravityview_get_view_id() { |
973 | 972 | return GravityView_View::getInstance()->getViewId(); |
@@ -25,7 +25,7 @@ |
||
25 | 25 | * |
26 | 26 | * @param GF_Field_List $field Gravity Forms field |
27 | 27 | * @param string|array $field_value Serialized or unserialized array value for the field |
28 | - * @param int|string $column_id The numeric key of the column (0-index) or the label of the column |
|
28 | + * @param integer $column_id The numeric key of the column (0-index) or the label of the column |
|
29 | 29 | * @param string $format If set to 'raw', return an array of values for the column. Otherwise, allow Gravity Forms to render using `html` or `text` |
30 | 30 | * |
31 | 31 | * @return array|string|null Returns null if the $field_value passed wasn't an array or serialized array |
@@ -167,7 +167,6 @@ discard block |
||
167 | 167 | * Returns the list of available forms |
168 | 168 | * |
169 | 169 | * @access public |
170 | - * @param mixed $form_id |
|
171 | 170 | * @return array Empty array if GFAPI isn't available or no forms. Otherwise, associative array with id, title keys |
172 | 171 | */ |
173 | 172 | public static function get_forms() { |
@@ -188,7 +187,7 @@ discard block |
||
188 | 187 | * Return array of fields' id and label, for a given Form ID |
189 | 188 | * |
190 | 189 | * @access public |
191 | - * @param string|array $form_id (default: '') or $form object |
|
190 | + * @param string|array $form (default: '') or $form object |
|
192 | 191 | * @return array |
193 | 192 | */ |
194 | 193 | public static function get_form_fields( $form = '', $add_default_properties = false, $include_parent_field = true ) { |
@@ -77,7 +77,7 @@ |
||
77 | 77 | /** |
78 | 78 | * Alias for get_instance() |
79 | 79 | * |
80 | - * @param $field_name |
|
80 | + * @param string $field_name |
|
81 | 81 | * |
82 | 82 | * @return GravityView_Field |
83 | 83 | */ |