public function process_workshopeval_best_setting($data) {
        global $DB;

        $data = (object)$data;
        $data->workshopid = $this->get_new_parentid('workshop');
        $DB->insert_record('workshopeval_best_settings', $data);
    }
public function process_workshopeval_best_setting($data) {
        global $DB;

        $data = (object)$data;
        $data->workshopid = $this->get_new_parentid('workshop');
        $DB->insert_record('workshopeval_best_settings', $data);
    }
public function process_workshopeval_best_setting ( $ data ) { global $ DB ; $ data = ( object ) $ data ; $ data -> workshopid = $ this -> get_new_parentid ( 'workshop' ) ; $ DB -> insert_record ( 'workshopeval_best_settings' , $ data ) ; }
Processes one workshopeval_best_settings element
Processes one workshopeval_best_settings element