original_string: public function addElementToContentSet($element, $type)
      {
          if (!isset($this->content_sets[$type])) {
              $this->content_sets[$type] = '';
          } else {
              $this->content_sets[$type] .= ' | ';
          }
          $this->content_sets[$type] .= $element;
      }
code: public function addElementToContentSet($element, $type)
      {
          if (!isset($this->content_sets[$type])) {
              $this->content_sets[$type] = '';
          } else {
              $this->content_sets[$type] .= ' | ';
          }
          $this->content_sets[$type] .= $element;
      }
code_tokens: public function addElementToContentSet ( $ element , $ type ) { if ( ! isset ( $ this -> content_sets [ $ type ] ) ) { $ this -> content_sets [ $ type ] = '' ; } else { $ this -> content_sets [ $ type ] .= ' | ' ; } $ this -> content_sets [ $ type ] .= $ element ; }
docstring: Convenience function that registers an element to a content set
  @param string $element Element to register
  @param string $type Name content set (warning: case sensitive, usually upper-case
  first letter)
docstring_tokens: Convenience function that registers an element to a content set