original_string: public function setActiveWorksheet($worksheet)
      {
          if(is_string($worksheet)){
              $worksheet = $this->worksheets[md5($worksheet)];
          }
          $this->active_worksheet = $worksheet;
          return $worksheet;
  
      }
code: public function setActiveWorksheet($worksheet)
      {
          if(is_string($worksheet)){
              $worksheet = $this->worksheets[md5($worksheet)];
          }
          $this->active_worksheet = $worksheet;
          return $worksheet;
  
      }
code_tokens: public function setActiveWorksheet ( $ worksheet ) { if ( is_string ( $ worksheet ) ) { $ worksheet = $ this -> worksheets [ md5 ( $ worksheet ) ] ; } $ this -> active_worksheet = $ worksheet ; return $ worksheet ; }
docstring: Sets the active worksheet
  @param string $worksheet The name of the worksheet or a reference to the DOMElement itself
  @return DOMElement The active worksheet
docstring_tokens: Sets the active worksheet