original_string: public function setStatus($status)
      {
  
          $node = $this->getStatus(false);
          if(!$node){
              $node = $this->createElement('status');
              $this->doc->appendChild($node);
          }
          $node->nodeValue = htmlspecialchars($status);
  
      }
code: public function setStatus($status)
      {
  
          $node = $this->getStatus(false);
          if(!$node){
              $node = $this->createElement('status');
              $this->doc->appendChild($node);
          }
          $node->nodeValue = htmlspecialchars($status);
  
      }
code_tokens: public function setStatus ( $ status ) { $ node = $ this -> getStatus ( false ) ; if ( ! $ node ) { $ node = $ this -> createElement ( 'status' ) ; $ this -> doc -> appendChild ( $ node ) ; } $ node -> nodeValue = htmlspecialchars ( $ status ) ; }
docstring: Set the status of the presence packet
  
  @param string $status The status message to display in human readible format
docstring_tokens: Set the status of the presence packet