@@ -84,6 +84,7 @@ discard block |
||
| 84 | 84 | /** |
| 85 | 85 | * Return the query class for this View. |
| 86 | 86 | * |
| 87 | + * @param View $view |
|
| 87 | 88 | * @return string The class name. |
| 88 | 89 | */ |
| 89 | 90 | public function get_query_class( $view ) { |
@@ -575,10 +576,8 @@ discard block |
||
| 575 | 576 | /** |
| 576 | 577 | * Get a \GV\Field by Form and Field ID for this data source. |
| 577 | 578 | * |
| 578 | - * @param \GV\GF_Form $form The Gravity Form form ID. |
|
| 579 | - * @param int $field_id The Gravity Form field ID for the $form_id. |
|
| 580 | 579 | * |
| 581 | - * @return \GV\Field|null The requested field or null if not found. |
|
| 580 | + * @return null|GF_Field The requested field or null if not found. |
|
| 582 | 581 | */ |
| 583 | 582 | public static function get_field( /** varargs */ ) { |
| 584 | 583 | $args = func_get_args(); |
@@ -111,7 +111,8 @@ |
||
| 111 | 111 | |
| 112 | 112 | $form = &$this; |
| 113 | 113 | |
| 114 | - if ( gravityview()->plugin->supports( Plugin::FEATURE_GFQUERY ) ) { // @todo switch to GFAPI:: once they start supporting nested and joins stuff |
|
| 114 | + if ( gravityview()->plugin->supports( Plugin::FEATURE_GFQUERY ) ) { |
|
| 115 | +// @todo switch to GFAPI:: once they start supporting nested and joins stuff |
|
| 115 | 116 | $entries->add_fetch_callback( function( $filters, $sorts, $offset ) use ( $view, &$form ) { |
| 116 | 117 | $atts = $view->settings->as_atts(); |
| 117 | 118 | |
@@ -55,6 +55,7 @@ |
||
| 55 | 55 | * Magic shortcuts. |
| 56 | 56 | * |
| 57 | 57 | * - `entries` -> `$this->get_entries()` |
| 58 | + * @param string $key |
|
| 58 | 59 | */ |
| 59 | 60 | public function __get( $key ) { |
| 60 | 61 | switch ( $key ): |