@@ -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(); |
@@ -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 ) { |
@@ -175,7 +175,7 @@ discard block |
||
175 | 175 | * @param bool $url_encode Whether to URL-encode output |
176 | 176 | * @param bool $esc_html Whether to apply `esc_html()` to output |
177 | 177 | * |
178 | - * @return mixed |
|
178 | + * @return string |
|
179 | 179 | */ |
180 | 180 | public function replace_merge_tag( $matches = array(), $text = '', $form = array(), $entry = array(), $url_encode = false, $esc_html = false ) { |
181 | 181 | |
@@ -202,7 +202,7 @@ discard block |
||
202 | 202 | * |
203 | 203 | * @since 1.8.4 |
204 | 204 | * |
205 | - * @param array $existing_merge_tags |
|
205 | + * @param array $custom_merge_tags |
|
206 | 206 | * @param int $form_id GF Form ID |
207 | 207 | * @param GF_Field[] $fields Array of fields in the form |
208 | 208 | * @param string $element_id The ID of the input that Merge Tags are being used on |
@@ -341,10 +341,10 @@ discard block |
||
341 | 341 | * </pre> |
342 | 342 | * |
343 | 343 | * @param [type] $field_options [description] |
344 | - * @param [type] $template_id [description] |
|
345 | - * @param [type] $field_id [description] |
|
346 | - * @param [type] $context [description] |
|
347 | - * @param [type] $input_type [description] |
|
344 | + * @param string $template_id [description] |
|
345 | + * @param string $field_id [description] |
|
346 | + * @param string $context [description] |
|
347 | + * @param string $input_type [description] |
|
348 | 348 | * @return [type] [description] |
349 | 349 | */ |
350 | 350 | function field_options( $field_options, $template_id, $field_id, $context, $input_type ) { |
@@ -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 | */ |