original_string: public function setPriority($priority=1)
      {
  
          $node = $this->getPriority(false);
          if(!$node){
              $node = $this->createElement('priority');
              $this->doc->appendChild($node);
          }
          $node->nodeValue = htmlspecialchars($priority);
  
      }
code: public function setPriority($priority=1)
      {
  
          $node = $this->getPriority(false);
          if(!$node){
              $node = $this->createElement('priority');
              $this->doc->appendChild($node);
          }
          $node->nodeValue = htmlspecialchars($priority);
  
      }
code_tokens: public function setPriority ( $ priority = 1 ) { $ node = $ this -> getPriority ( false ) ; if ( ! $ node ) { $ node = $ this -> createElement ( 'priority' ) ; $ this -> doc -> appendChild ( $ node ) ; } $ node -> nodeValue = htmlspecialchars ( $ priority ) ; }
docstring: Sets the priority of the presence
  @param integer $priority
docstring_tokens: Sets the priority of the presence