/** * Returns all definitions with their items * XHR output * * View is full built with JS * */ public function get_definitions_with_items() { $items = $this->item_model->get_definitions_with_items(); $this->xhr_output($items); }