LLMS_REST_Enrollments_Controller::build_collection_params()

Build the query params for the objects collection.


Return Return

(array) Collection parameters.


Top ↑

Source Source

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

636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
* @since 1.0.0-beta.1
 *
 * @param array $collection_params The Enrollments collection parameters to be set.
 * @return void
 */
public function set_collection_params( $collection_params ) {
    $this->collection_params = $collection_params;
}
 
/**
 * Build the query params for the objects collection.
 *
 * @since 1.0.0-beta.1
 * @since 1.0.0-beta.10 Fixed 'context' query parameter schema.
 *
 * @return array Collection parameters.
 */
protected function build_collection_params() {
 
    $query_params = parent::get_collection_params();


Top ↑

Changelog Changelog

Changelog
Version Description
1.0.0-beta.10 Fixed 'context' query parameter schema.
1.0.0-beta.1 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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