Returns the element type object for this element.
Namespace: awsmug\Torro_Forms\DB_Objects\Elements
Element::delete()
Deletes the model from the database.
Element::to_json()
Returns an array representation of the model.
Choice_Element_Type_Interface::get_choices_for_field()
Returns the available choices for a specific field.
REST_Elements_Controller
Class to access elements via the REST API.
REST_Elements_Controller::__construct()
Constructor.
REST_Elements_Controller::get_item_schema()
Retrieves the model’s schema, conforming to JSON Schema.
REST_Elements_Controller::get_collection_params()
Retrieves the query params for the models collection.
REST_Elements_Controller::prepare_links()
Prepares links for the request.
REST_Elements_Controller::sanitize_type_param()
Sanitizes and validates the list of element types.