@@ -225,7 +225,7 @@ |
||
225 | 225 | * Does the if and the comparison match? |
226 | 226 | * @uses GVCommon::matches_operation |
227 | 227 | * |
228 | - * @return boolean True: yep; false: nope |
|
228 | + * @return boolean|null True: yep; false: nope |
|
229 | 229 | */ |
230 | 230 | function set_is_match() { |
231 | 231 | $this->is_match = GVCommon::matches_operation( $this->if, $this->comparison, $this->operation ); |
@@ -211,6 +211,7 @@ |
||
211 | 211 | * @var $view_id |
212 | 212 | * |
213 | 213 | * @see render_handler |
214 | + * @param string $url |
|
214 | 215 | */ |
215 | 216 | private function set_vars( $matches, $attr, $url, $rawattr ) { |
216 | 217 |
@@ -170,7 +170,6 @@ |
||
170 | 170 | * |
171 | 171 | * @since 1.5.1 |
172 | 172 | * @param array $visibility_caps Array of capabilities to display in field dropdown. |
173 | - * @param string $field_type Type of field options to render (`field` or `widget`) |
|
174 | 173 | * @param string $template_id Table slug |
175 | 174 | * @param float $field_id GF Field ID - Example: `3`, `5.2`, `entry_link`, `created_by` |
176 | 175 | * @param string $context What context are we in? Example: `single` or `directory` |
@@ -69,7 +69,6 @@ |
||
69 | 69 | * Change wording for the Edit context to read Entry Creator |
70 | 70 | * |
71 | 71 | * @param array $visibility_caps Array of capabilities to display in field dropdown. |
72 | - * @param string $field_type Type of field options to render (`field` or `widget`) |
|
73 | 72 | * @param string $template_id Table slug |
74 | 73 | * @param float $field_id GF Field ID - Example: `3`, `5.2`, `entry_link`, `created_by` |
75 | 74 | * @param string $context What context are we in? Example: `single` or `directory` |
@@ -1249,7 +1249,7 @@ |
||
1249 | 1249 | /** |
1250 | 1250 | * Override GF Form field properties with the ones defined on the View |
1251 | 1251 | * @param GF_Field $field GF Form field object |
1252 | - * @param array $setting GV field options |
|
1252 | + * @param array $field_setting GV field options |
|
1253 | 1253 | * @since 1.5 |
1254 | 1254 | * @return array |
1255 | 1255 | */ |
@@ -57,7 +57,7 @@ |
||
57 | 57 | * @since 1.11 |
58 | 58 | * |
59 | 59 | * @param array $form Gravity Forms form array |
60 | - * @param string $entry_id Gravity Forms entry ID |
|
60 | + * @param integer $entry_id Gravity Forms entry ID |
|
61 | 61 | * @return void |
62 | 62 | */ |
63 | 63 | public function update_user( $form = array(), $entry_id = 0 ) { |
@@ -65,6 +65,9 @@ discard block |
||
65 | 65 | } |
66 | 66 | |
67 | 67 | |
68 | + /** |
|
69 | + * @param string $component |
|
70 | + */ |
|
68 | 71 | private function load_components( $component ) { |
69 | 72 | |
70 | 73 | $dir = trailingslashit( self::$file ); |
@@ -141,7 +144,7 @@ discard block |
||
141 | 144 | * "You can edit this post from the post page" fields, for example. |
142 | 145 | * |
143 | 146 | * @param $entry array Gravity Forms entry object |
144 | - * @param $view_id int GravityView view id |
|
147 | + * @param integer $view_id int GravityView view id |
|
145 | 148 | * @param $post_id int GravityView Post ID where View may be embedded {@since 1.9.2} |
146 | 149 | * @param string|array $field_values Parameters to pass in to the Edit Entry form to prefill data. Uses the same format as Gravity Forms "Allow field to be populated dynamically" {@since 1.9.2} {@see https://www.gravityhelp.com/documentation/article/allow-field-to-be-populated-dynamically/ } |
147 | 150 | * @return string |
@@ -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 |