Prepares a single model output for response.
Namespace: awsmug\Torro_Forms\DB_Objects\Element_Choices
CLI_Element_Choices_Command
Class to access element choices via WP-CLI.
CLI_Element_Choices_Command::__construct()
Constructor.
Element_Choice
Class representing an element choice.
Element_Choice::get_element()
Returns the parent element for the element choice.
Element_Choice::duplicate()
Duplicates the element choice.
Element_Choice_Capabilities
Class for handling element choice capabilities.
REST_Element_Choices_Controller::get_item_schema()
Retrieves the model’s schema, conforming to JSON Schema.
REST_Element_Choices_Controller::get_collection_params()
Retrieves the query params for the models collection.
REST_Element_Choices_Controller::prepare_links()
Prepares links for the request.