GF_REST_Entry_Properties_Controller
Source: includes/webapi/v2/includes/controllers/class-controller-entry-properties.php:7
Details
- Kind:
class - Namespace:
(global) - Extends: GF_REST_Form_Entries_Controller
Properties
| Property | Type | Description |
|---|---|---|
$rest_base | string |
Methods
| Method | Description |
|---|---|
register_routes() | Register the routes for the objects of the controller. |
update_items() | Update one item from the collection |
update_item_permissions_check() | Check if a given request has access to update a specific item |
get_collection_params() | Get the query params for collections |
get_item_schema() | Get the Entry Property schema, conforming to JSON Schema. |
Method Reference
register_routes()
public function register_routes()
Register the routes for the objects of the controller.
Since: 2.4-beta-1
Source: includes/webapi/v2/includes/controllers/class-controller-entry-properties.php:23
update_items()
public function update_items( $request )
Update one item from the collection
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$request | WP_REST_Request | Full data about the request. |
Returns
Since: 2.4-beta-1
Source: includes/webapi/v2/includes/controllers/class-controller-entry-properties.php:49
update_item_permissions_check()
public function update_item_permissions_check( $request )
Check if a given request has access to update a specific item
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$request | WP_REST_Request | Full data about the request. |
Returns
- WP_Error |
bool
Since: 2.4
Source: includes/webapi/v2/includes/controllers/class-controller-entry-properties.php:88
get_collection_params()
public function get_collection_params()
Get the query params for collections
Returns
array
Since: 2.4
Source: includes/webapi/v2/includes/controllers/class-controller-entry-properties.php:126
get_item_schema()
public function get_item_schema()
Get the Entry Property schema, conforming to JSON Schema.
Returns
array
Since: 2.4-beta-1
Source: includes/webapi/v2/includes/controllers/class-controller-entry-properties.php:137