original_string: public function register($functionname, $inputparams = array(), $outputparams = array(), $documentation = '') {
          // Process portType operation nodes.
          $porttypeoperation = $this->nodeporttype->addChild('operation');
          $porttypeoperation->addAttribute('name', $functionname);
          // Documentation node.
          $porttypeoperation->addChild('documentation', $documentation);
  
          // Process binding operation nodes.
          $bindingoperation = $this->nodebinding->addChild('operation');
          $bindingoperation->addAttribute('name', $functionname);
          $soapoperation = $bindingoperation->addChild('x:soap:operation');
          $soapoperation->addAttribute('soapAction', $this->namespace . '#' . $functionname);
  
          // Input nodes.
          $this->process_params($functionname, $porttypeoperation, $bindingoperation, $inputparams);
  
          // Output nodes.
          $this->process_params($functionname, $porttypeoperation, $bindingoperation, $outputparams, true);
      }
code: public function register($functionname, $inputparams = array(), $outputparams = array(), $documentation = '') {
          // Process portType operation nodes.
          $porttypeoperation = $this->nodeporttype->addChild('operation');
          $porttypeoperation->addAttribute('name', $functionname);
          // Documentation node.
          $porttypeoperation->addChild('documentation', $documentation);
  
          // Process binding operation nodes.
          $bindingoperation = $this->nodebinding->addChild('operation');
          $bindingoperation->addAttribute('name', $functionname);
          $soapoperation = $bindingoperation->addChild('x:soap:operation');
          $soapoperation->addAttribute('soapAction', $this->namespace . '#' . $functionname);
  
          // Input nodes.
          $this->process_params($functionname, $porttypeoperation, $bindingoperation, $inputparams);
  
          // Output nodes.
          $this->process_params($functionname, $porttypeoperation, $bindingoperation, $outputparams, true);
      }
code_tokens: public function register ( $ functionname , $ inputparams = array ( ) , $ outputparams = array ( ) , $ documentation = '' ) { // Process portType operation nodes. $ porttypeoperation = $ this -> nodeporttype -> addChild ( 'operation' ) ; $ porttypeoperation -> addAttribute ( 'name' , $ functionname ) ; // Documentation node. $ porttypeoperation -> addChild ( 'documentation' , $ documentation ) ; // Process binding operation nodes. $ bindingoperation = $ this -> nodebinding -> addChild ( 'operation' ) ; $ bindingoperation -> addAttribute ( 'name' , $ functionname ) ; $ soapoperation = $ bindingoperation -> addChild ( 'x:soap:operation' ) ; $ soapoperation -> addAttribute ( 'soapAction' , $ this -> namespace . '#' . $ functionname ) ; // Input nodes. $ this -> process_params ( $ functionname , $ porttypeoperation , $ bindingoperation , $ inputparams ) ; // Output nodes. $ this -> process_params ( $ functionname , $ porttypeoperation , $ bindingoperation , $ outputparams , true ) ; }
docstring: Registers the external service method to the WSDL.
  
  @param string $functionname The name of the web service function to be registered.
  @param array $inputparams Contains the function's input parameters with their associated types.
  @param array $outputparams Contains the function's output parameters with their associated types.
  @param string $documentation The function's description.
docstring_tokens: Registers the external service method to the WSDL .