@@ -72,7 +72,7 @@ |
||
| 72 | 72 | * |
| 73 | 73 | * @param mixed $value The value in. |
| 74 | 74 | * |
| 75 | - * @return mixed The value out. |
|
| 75 | + * @return string The value out. |
|
| 76 | 76 | */ |
| 77 | 77 | public function get_value( $value ) { |
| 78 | 78 | return $this->get_string_from_value( $value ); |
@@ -236,7 +236,6 @@ discard block |
||
| 236 | 236 | * |
| 237 | 237 | * @access public |
| 238 | 238 | * @param array $entry |
| 239 | - * @param array $field |
|
| 240 | 239 | * @return null|string |
| 241 | 240 | */ |
| 242 | 241 | public static function field_value( $entry, $field_settings, $format = 'html' ) { |
@@ -741,6 +740,9 @@ discard block |
||
| 741 | 740 | return $value; |
| 742 | 741 | } |
| 743 | 742 | |
| 743 | +/** |
|
| 744 | + * @param GV\Template_Context $context |
|
| 745 | + */ |
|
| 744 | 746 | function gv_directory_link( $post = NULL, $add_pagination = true, $context = null ) { |
| 745 | 747 | return GravityView_API::directory_link( $post, $add_pagination, $context ); |
| 746 | 748 | } |
@@ -1216,6 +1218,7 @@ discard block |
||
| 1216 | 1218 | * @param array $passed_args Associative array with field data. `field` and `form` are required. |
| 1217 | 1219 | * @since 2.0 |
| 1218 | 1220 | * @param \GV\Template_Context The template context. |
| 1221 | + * @param GV\Template_Context $context |
|
| 1219 | 1222 | * @return string Field output. If empty value and hide empty is true, return empty. |
| 1220 | 1223 | */ |
| 1221 | 1224 | function gravityview_field_output( $passed_args, $context = null ) { |
@@ -195,7 +195,6 @@ discard block |
||
| 195 | 195 | * |
| 196 | 196 | * @deprecated 2.0.7 |
| 197 | 197 | * |
| 198 | - * @param array $handles Array of meta keys to check for existence of shortcodes |
|
| 199 | 198 | * @param int $post_id The ID being checked by GravityView |
| 200 | 199 | * |
| 201 | 200 | * @return array Meta key array, merged with existing meta keys |
@@ -209,7 +208,6 @@ discard block |
||
| 209 | 208 | * |
| 210 | 209 | * @since 2.0.7 |
| 211 | 210 | * |
| 212 | - * @param array $handles Array of meta keys to check for existence of shortcodes |
|
| 213 | 211 | * @param \WP_Post $post The ID being checked by GravityView |
| 214 | 212 | * |
| 215 | 213 | * @return array Meta key array, merged with existing meta keys |
@@ -350,7 +350,7 @@ discard block |
||
| 350 | 350 | * Generate the status message box HTML based on the current status |
| 351 | 351 | * |
| 352 | 352 | * @since 1.7.4 |
| 353 | - * @param $message |
|
| 353 | + * @param string $message |
|
| 354 | 354 | * @param string $class |
| 355 | 355 | * |
| 356 | 356 | * @return string |
@@ -470,6 +470,9 @@ discard block |
||
| 470 | 470 | $this->settings->set( $settings ); |
| 471 | 471 | } |
| 472 | 472 | |
| 473 | + /** |
|
| 474 | + * @param boolean $echo |
|
| 475 | + */ |
|
| 473 | 476 | public function settings_edd_license_activation( $field, $echo ) { |
| 474 | 477 | $script_debug = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : '.min'; |
| 475 | 478 | |
@@ -569,7 +572,6 @@ discard block |
||
| 569 | 572 | * Check the GravityView license information |
| 570 | 573 | * |
| 571 | 574 | * @since 1.19.3 |
| 572 | - * @param bool $force Whether to force checking license, even if AJAX |
|
| 573 | 575 | * |
| 574 | 576 | * @return void |
| 575 | 577 | */ |
@@ -24,9 +24,8 @@ |
||
| 24 | 24 | /** |
| 25 | 25 | * Get a \GV\Field by Field ID for this data source. |
| 26 | 26 | * |
| 27 | - * @param int $field_id The internal field ID (custom content, etc.) |
|
| 28 | 27 | * |
| 29 | - * @return \GV\Field|null The requested field or null if not found. |
|
| 28 | + * @return null|Internal_Field The requested field or null if not found. |
|
| 30 | 29 | */ |
| 31 | 30 | public static function get_field( /** varargs */ ) { |
| 32 | 31 | $args = func_get_args(); |
@@ -53,7 +53,6 @@ discard block |
||
| 53 | 53 | * Columns are able to be added to View layouts, but not separately searched! |
| 54 | 54 | * |
| 55 | 55 | * @param array $fields |
| 56 | - * @param int $form_id |
|
| 57 | 56 | * |
| 58 | 57 | * @return array |
| 59 | 58 | */ |
@@ -133,7 +132,7 @@ discard block |
||
| 133 | 132 | * |
| 134 | 133 | * @param GF_Field_List $field Gravity Forms field |
| 135 | 134 | * @param string|array $field_value Serialized or unserialized array value for the field |
| 136 | - * @param int|string $column_id The numeric key of the column (0-index) or the label of the column |
|
| 135 | + * @param integer $column_id The numeric key of the column (0-index) or the label of the column |
|
| 137 | 136 | * @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` |
| 138 | 137 | * |
| 139 | 138 | * @return array|string|null Returns null if the $field_value passed wasn't an array or serialized array |
@@ -84,7 +84,7 @@ |
||
| 84 | 84 | * @see \Gamajo_Template_Loader::set_template_data |
| 85 | 85 | * @see \GV\Template::pop_template_data |
| 86 | 86 | * |
| 87 | - * @return \Gamajo_Template_Loader The current instance. |
|
| 87 | + * @return Template The current instance. |
|
| 88 | 88 | */ |
| 89 | 89 | public function push_template_data( $data, $var_name = 'data' ) { |
| 90 | 90 | if ( ! isset( self::$data_stack[ $var_name ] ) ) { |
@@ -78,7 +78,7 @@ |
||
| 78 | 78 | * @uses api_request() |
| 79 | 79 | * |
| 80 | 80 | * @param array $_transient_data Update array build by WordPress. |
| 81 | - * @return array Modified update array with custom plugin data. |
|
| 81 | + * @return \stdClass Modified update array with custom plugin data. |
|
| 82 | 82 | */ |
| 83 | 83 | public function check_update( $_transient_data ) { |
| 84 | 84 | |
@@ -266,7 +266,7 @@ |
||
| 266 | 266 | * |
| 267 | 267 | * @uses GravityView_frontend::get_search_criteria() Convert the $_POST search request into a properly formatted request. |
| 268 | 268 | * @access public |
| 269 | - * @return void|boolean |
|
| 269 | + * @return false|null |
|
| 270 | 270 | */ |
| 271 | 271 | public function process_bulk_action() { |
| 272 | 272 | |