LLMS_REST_Controller

LLMS_REST_Controller class


Description Description


Source Source

File: libraries/lifterlms-rest/includes/abstracts/class-llms-rest-controller.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
1.0.0-beta.7 Break get_items() method into prepare_collection_query_args(), prepare_args_for_total_count_query(), prepare_collection_items_for_response() and add_header_pagination() methods so to improve abstraction. prepare_objects_query() renamed to prepare_collection_query_args().
1.0.0-beta.3 Fix an issue displaying a last page for lists with 0 possible results & handle error conditions early in responses.
1.0.0-beta.14 Update prepare_links() to accept a second parameter, WP_REST_Request.
1.0.0-beta.12 Added logic to perform a collection search. Added object_inserted() and object_completely_inserted() methods called after an object is respectively inserted in the DB and all its additional fields have been updated as well (completely inserted).
1.0.0-beta.1 Introduced.


Top ↑

Methods Methods


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.