GravityView  2.17
The best, easiest way to display Gravity Forms entries on your website.
Public Member Functions | Private Attributes
Request Class Reference

If this file is called directly, abort. More...

Inheritance diagram for Request:
Request

Public Member Functions

 __construct (\WP_REST_Request $request)
 
 get_paging ()
 Retrieve paging parameters if any. More...
 
- Public Member Functions inherited from Request
 __construct ()
 
 is_edit_entry ( $form_id=0)
 Checks whether this an edit entry request. More...
 
 is_entry ( $form_id=0)
 Checks whether this is a single entry request. More...
 
 is_renderable ()
 Whether this request is something that is renderable. More...
 
 is_search ()
 Checks whether this an entry search request. More...
 
 is_view ( $return_view=true)
 The current $post is a View, no? More...
 

Private Attributes

 $request
 

Additional Inherited Members

- Static Public Member Functions inherited from Request
static is_add_oembed_preview ()
 Is this the Add Media / From URL preview request? More...
 
static is_admin ()
 Check if WordPress is_admin(), and make sure not DOING_AJAX. More...
 
static is_ajax ()
 Is this an AJAX call in progress? More...
 
static is_frontend ()
 This is the frontend. More...
 
static is_rest ()
 Is this a REST request? Call after parse_request. More...
 

Detailed Description

If this file is called directly, abort.

The default REST Request class.

Definition at line 12 of file class-gv-request-rest.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( \WP_REST_Request  $request)
Parameters
\WP_REST_Request$requestThe WordPress REST request object.

Definition at line 18 of file class-gv-request-rest.php.

References Request\$request.

Member Function Documentation

◆ get_paging()

get_paging ( )

Retrieve paging parameters if any.

Returns
array

Definition at line 27 of file class-gv-request-rest.php.

Field Documentation

◆ $request

$request
private

Definition at line 13 of file class-gv-request-rest.php.

Referenced by Request\__construct().


The documentation for this class was generated from the following file: