GravityView  1.19.4
The best, easiest way to display Gravity Forms entries on your website.
Namespaces | Variables
other_entries.php File Reference

Go to the source code of this file.

Namespaces

 GravityView
 includes
 

Variables

 $created_by = rgar( $field['entry'], 'created_by' )
 
 $criteria ['paging']
 Modify the search parameters before the entries are fetched. More...
 
 $criteria ['search_criteria']
 
 $criteria ['search_criteria']['status'] = apply_filters( 'gravityview_status', 'active', $view_settings )
 
 $deprecated = apply_filters( 'gravityview/field/other_entries/args', array(), $field )
 
 $entries = GVCommon::get_entries( $form_id, $criteria )
 
 $field = $gravityview_view->getCurrentField()
 
if(empty($created_by)) $form_id = $gravityview_view->getFormId()
 
 $gravityview_view = GravityView_View::getInstance()
 
if(empty($entries)&&$gravityview_view->getCurrentFieldSetting('no_entries_hide')) $list
 
 $view_settings = gravityview_get_template_settings( $gravityview_view->getViewId() )
 
 $view_settings ['page_size'] = $gravityview_view->getCurrentFieldSetting('page_size')
 

Variable Documentation

$created_by = rgar( $field['entry'], 'created_by' )
$criteria
Initial value:
= array(
'offset' => 0,
'page_size' => $view_settings['page_size']
)
$view_settings

Modify the search parameters before the entries are fetched.

Since
1.11
Parameters
array$criteriaGravity Forms search criteria array, as used by GVCommon::get_entries()
array$view_settingsAssociative array of settings with plugin defaults used if not set by the View
int$form_idThe Gravity Forms ID

Definition at line 28 of file other_entries.php.

Referenced by GravityView_Field_Time\_maybe_filter_gravity_forms_query(), GVCommon\calculate_get_entries_criteria(), GVCommon\check_entry_display(), GravityView_Recent_Entries_Widget\get_entries(), and GVCommon\get_entries().

$criteria['search_criteria']
Initial value:
= array(
'field_filters' => array(
array(
'key' => 'created_by',
'value' => $created_by,
'operator' => 'is'
)
)
)
$created_by

Definition at line 34 of file other_entries.php.

$criteria['search_criteria']['status'] = apply_filters( 'gravityview_status', 'active', $view_settings )

Definition at line 44 of file other_entries.php.

$deprecated = apply_filters( 'gravityview/field/other_entries/args', array(), $field )
Since
1.7.6

Definition at line 81 of file other_entries.php.

$entries = GVCommon::get_entries( $form_id, $criteria )
$field = $gravityview_view->getCurrentField()

Definition at line 11 of file other_entries.php.

if (empty($created_by)) $form_id = $gravityview_view->getFormId()

Definition at line 20 of file other_entries.php.

Referenced by GravityView_Field\_filter_gform_custom_merge_tags(), GravityView_Field_Time\_get_time_format_for_field(), GravityView_frontend\_override_sorting_id_by_field_type(), GravityView_Entry_Approval\add_approval_status_updated_note(), GravityView_Admin_Views\add_custom_column_content(), GravityView_GF_Entries_List\add_edit_link(), GravityView_Admin_ApproveEntries\add_scripts_and_styles(), GravityView_View_Data\add_view(), GravityView_Recent_Entries_Widget\ajax_get_view_merge_tag_data(), GravityView_Entry_Approval\ajax_update_approved(), GravityView_Admin\connected_form_warning(), GravityView_Cache\delete(), GravityView_Field_Post_Image\explode_value(), GravityView_API\field_class(), GravityView_API\field_html_attr_id(), GravityView_Admin_ApproveEntries\get_bulk_actions(), GravityView_Admin_Views\get_connected_form_links(), GVCommon\get_connected_views(), GravityView_Recent_Entries_Widget\get_entries(), GVCommon\get_entry_id_from_slug(), GVCommon\get_entry_ids(), GVCommon\get_entry_meta(), GravityView_Admin_ApproveEntries\get_first_form_id(), GVCommon\get_form(), GravityView_Admin_ApproveEntries\get_form_id(), GravityView_Edit_Entry\get_nonce_key(), GravityView_frontend\get_search_criteria(), GravityView_Migrate\get_search_fields(), GravityView_Admin_ApproveEntries\get_sort_link(), GravityView_Plugin_Hooks_Gravity_Flow\get_status_options(), GravityView_Field_Workflow_Step\get_workflow_step(), gravityview_get_connected_views(), gravityview_get_entry_ids(), gravityview_get_entry_meta(), gravityview_get_form(), GravityView_Cache\in_blacklist(), GravityView_Field_Workflow_Step\modify_frontend_search_fields(), GravityView_Plugin_Hooks_Gravity_Flow\modify_search_bar_fields_dropdown(), GravityView_Field_Time\modify_sort_id(), GravityView_Admin_ApproveEntries\process_bulk_action(), GravityView_Widget_Search\render_searchable_fields(), GravityView_Admin_Views\save_postdata(), GravityView_Admin_ApproveEntries\show_approve_entry_column(), GravityView_Entry_Approval\update_approved(), GravityView_Admin_ApproveEntries\update_approved(), GravityView_Entry_Approval\update_approved_meta(), GravityView_Entry_Approval\update_bulk(), GravityView_frontend\updateViewSorting(), and GravityView_Recent_Entries_Widget\widget().

$gravityview_view = GravityView_View::getInstance()

Definition at line 9 of file other_entries.php.

if (empty($entries)&&$gravityview_view->getCurrentFieldSetting('no_entries_hide')) $list
Initial value:
$gravityview_view->getPostId(),
$field['form'],
$gravityview_view->getCurrentFieldSetting('link_format'),
$gravityview_view->getCurrentFieldSetting('after_link'),
'other_entries'
)
If this file is called directly, abort.
$entries
$field
$gravityview_view

Definition at line 65 of file other_entries.php.

$view_settings = gravityview_get_template_settings( $gravityview_view->getViewId() )
$view_settings['page_size'] = $gravityview_view->getCurrentFieldSetting('page_size')

Definition at line 25 of file other_entries.php.