original_string: public function get_not_associated_external_functions($serviceid) {
          global $DB;
          $select = "name NOT IN (SELECT s.functionname
                                    FROM {external_services_functions} s
                                   WHERE s.externalserviceid = :sid
                                 )";
  
          $functions = $DB->get_records_select('external_functions',
                          $select, array('sid' => $serviceid), 'name');
  
          return $functions;
      }
code: public function get_not_associated_external_functions($serviceid) {
          global $DB;
          $select = "name NOT IN (SELECT s.functionname
                                    FROM {external_services_functions} s
                                   WHERE s.externalserviceid = :sid
                                 )";
  
          $functions = $DB->get_records_select('external_functions',
                          $select, array('sid' => $serviceid), 'name');
  
          return $functions;
      }
code_tokens: public function get_not_associated_external_functions ( $ serviceid ) { global $ DB ; $ select = "name NOT IN (SELECT s.functionname
                                    FROM {external_services_functions} s
                                   WHERE s.externalserviceid = :sid
                                 )" ; $ functions = $ DB -> get_records_select ( 'external_functions' , $ select , array ( 'sid' => $ serviceid ) , 'name' ) ; return $ functions ; }
docstring: Get functions not included in a service
  
  @param int $serviceid service id
  @return array functions
docstring_tokens: Get functions not included in a service