original_string: public function marshall($usePreamble = true)
      {
          $out = "";
          $attributes = $this->getAttributes();
          if ($usePreamble) {
              $out .= "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n";
          }
          $out .= "<object classname=\"" . static::$m__sClassName . "\">\n";
          foreach ($attributes as $attribute) {
  
              $attributeName = $attribute->getName();
  
              if (MWebfile::isSimpleDatatype($attributeName)) {
                  $attribute->setAccessible(true);
                  $attributeFieldName = static::getSimplifiedAttributeName($attributeName);
                  $out .= "\t<" . $attributeFieldName . "><![CDATA[" . $attribute->getValue($this) . "]]></" . $attributeFieldName . ">\n";
              }
          }
          $out .= "</object>";
  
          return $out;
      }
code: public function marshall($usePreamble = true)
      {
          $out = "";
          $attributes = $this->getAttributes();
          if ($usePreamble) {
              $out .= "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n";
          }
          $out .= "<object classname=\"" . static::$m__sClassName . "\">\n";
          foreach ($attributes as $attribute) {
  
              $attributeName = $attribute->getName();
  
              if (MWebfile::isSimpleDatatype($attributeName)) {
                  $attribute->setAccessible(true);
                  $attributeFieldName = static::getSimplifiedAttributeName($attributeName);
                  $out .= "\t<" . $attributeFieldName . "><![CDATA[" . $attribute->getValue($this) . "]]></" . $attributeFieldName . ">\n";
              }
          }
          $out .= "</object>";
  
          return $out;
      }
code_tokens: public function marshall ( $ usePreamble = true ) { $ out = "" ; $ attributes = $ this -> getAttributes ( ) ; if ( $ usePreamble ) { $ out .= "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" ; } $ out .= "<object classname=\"" . static :: $ m__sClassName . "\">\n" ; foreach ( $ attributes as $ attribute ) { $ attributeName = $ attribute -> getName ( ) ; if ( MWebfile :: isSimpleDatatype ( $ attributeName ) ) { $ attribute -> setAccessible ( true ) ; $ attributeFieldName = static :: getSimplifiedAttributeName ( $ attributeName ) ; $ out .= "\t<" . $ attributeFieldName . "><![CDATA[" . $ attribute -> getValue ( $ this ) . "]]></" . $ attributeFieldName . ">\n" ; } } $ out .= "</object>" ; return $ out ; }
docstring: Converts the current webfile into its xml representation.
  
  @param boolean $usePreamble sets the option of using a preamble in xml - usually used for setting the version of xml an the encoding.
  @return string returns the webfile as a marshalled String.
docstring_tokens: Converts the current webfile into its xml representation .