original_string: protected function addOuterTags($inputXml)
      {
          // start xml with encoding tag
          $finalXml = $this->xmlStart();
          
          // open script tag
          $finalXml .= "\n<script>";
          
          // include override of submit command if specified
          if ($this->getOption('sbmjobCommand')) {
              $sbmJobCommand = $this->getOption('sbmjobCommand');
              $finalXml .= "\n<sbmjob>{$sbmJobCommand}</sbmjob>";
          }
          
          // inner "meat" of the XML
          $finalXml .= "\n$inputXml";
          
          // close script tag
          $finalXml .= "\n</script>";
          
          return $finalXml; 
      }
code: protected function addOuterTags($inputXml)
      {
          // start xml with encoding tag
          $finalXml = $this->xmlStart();
          
          // open script tag
          $finalXml .= "\n<script>";
          
          // include override of submit command if specified
          if ($this->getOption('sbmjobCommand')) {
              $sbmJobCommand = $this->getOption('sbmjobCommand');
              $finalXml .= "\n<sbmjob>{$sbmJobCommand}</sbmjob>";
          }
          
          // inner "meat" of the XML
          $finalXml .= "\n$inputXml";
          
          // close script tag
          $finalXml .= "\n</script>";
          
          return $finalXml; 
      }
code_tokens: protected function addOuterTags ( $ inputXml ) { // start xml with encoding tag
   $ finalXml = $ this -> xmlStart ( ) ; // open script tag
   $ finalXml .= "\n<script>" ; // include override of submit command if specified
   if ( $ this -> getOption ( 'sbmjobCommand' ) ) { $ sbmJobCommand = $ this -> getOption ( 'sbmjobCommand' ) ; $ finalXml .= "\n<sbmjob>{$sbmJobCommand}</sbmjob>" ; } // inner "meat" of the XML
   $ finalXml .= "\n$inputXml" ; // close script tag
   $ finalXml .= "\n</script>" ; return $ finalXml ; }
docstring: For consistently, add commonly used starting and ending tags to input XML
  
  @todo: $xml should be a property of the class (true OO style), then $this->addOuterTags();
  
  @param $inputXml
  @return string
docstring_tokens: For consistently add commonly used starting and ending tags to input XML