"; - $restresponsehtml .= ""; + $restresponsehtml .= ""; $restresponsehtml .= ''.get_string('restcode', 'webservice').'"; - $restresponsehtml .= "
'; $brakeline = <<description_in_indented_xml_format($returndescription); $content .="".$brakeline; $restresponsehtml .= $brakeline.htmlentities($content).$brakeline; - $restresponsehtml .= "
"; - $documentationhtml .= ""; - //$documentationhtml .= print_collapsible_region_start('', 'aera_'.$functionname."_".$paramname,''.get_string('generalstructure', 'webservice').'',false,true,true); $documentationhtml .= ''.get_string('generalstructure', 'webservice').'"; - $documentationhtml .= "
'; $documentationhtml .= $brakeline.$this->detailed_description_html($paramdesc); - //$documentationhtml .= print_collapsible_region_end(true); - $documentationhtml .= "
"; - $documentationhtml .= ""; + $documentationhtml .= ""; $documentationhtml .= ''.get_string('phpparam', 'webservice').'
'; $documentationhtml .= $brakeline.'['.$paramname.'] =>'.htmlentities($this->xmlrpc_param_description_html($paramdesc)). $brakeline. $brakeline; - $documentationhtml .= "
"; - $documentationhtml .= "
"; - $documentationhtml .= ""; + $documentationhtml .= ""; $documentationhtml .= ''.get_string('restparam', 'webservice').'"; - $documentationhtml .= "
'; $documentationhtml .= $brakeline.htmlentities($this->rest_param_description_html($paramdesc,$paramname)). $brakeline. $brakeline; - $documentationhtml .= "
"; - $documentationhtml .= ""; - //$documentationhtml .= print_collapsible_region_start('', 'aera_'.$functionname."_xmlrpc_return",''.get_string('generalstructure', 'webservice').'',false,true,true); $documentationhtml .= ''.get_string('generalstructure', 'webservice').'"; - $documentationhtml .= "
'; $documentationhtml .= $brakeline.$this->detailed_description_html($description->returns_desc); - //$documentationhtml .= print_collapsible_region_end(true); - $documentationhtml .= "
"; - $documentationhtml .= ""; $documentationhtml .= ''.get_string('phpresponse', 'webservice').'"; - $documentationhtml .= "
'; $documentationhtml .= htmlentities($this->xmlrpc_param_description_html($description->returns_desc)).$brakeline.$brakeline; - $documentationhtml .= "
"; - $documentationhtml .= ""; - $documentationhtml .= ''.get_string('restexception', 'webservice').'"; - $documentationhtml .= "
'; $errormessage = get_string('invalidparameter', 'debug'); $restexceptiontext =<<EOF; $documentationhtml .= $brakeline.htmlentities($restexceptiontext); - $documentationhtml .= "