original_string: public function renderStandalone()
      {
          $domDocument                = new \DOMDocument("1.0", "utf-8");
          $domDocument->xmlStandalone = true;
  
          $domElement = $domDocument->createElement("ui_properties");
          $domDocument->appendChild($domElement);
  
          $allProperties = $this->getProperties();
          foreach ($allProperties as $property => $propertySettings) {
              if (!$propertySettings) {
                  continue;
              }
  
              $propertyDomElement = $domDocument->createElement($property);
              $domElement->appendChild($propertyDomElement);
  
              foreach ($propertySettings as $settingName => $settingValue) {
                  $settingValueString = (is_string($settingValue) ? $settingValue : var_export($settingValue, true));
                  $propertyDomElement->setAttribute($settingName, $settingValueString);
              }
          }
  
          return $domDocument;
      }
code: public function renderStandalone()
      {
          $domDocument                = new \DOMDocument("1.0", "utf-8");
          $domDocument->xmlStandalone = true;
  
          $domElement = $domDocument->createElement("ui_properties");
          $domDocument->appendChild($domElement);
  
          $allProperties = $this->getProperties();
          foreach ($allProperties as $property => $propertySettings) {
              if (!$propertySettings) {
                  continue;
              }
  
              $propertyDomElement = $domDocument->createElement($property);
              $domElement->appendChild($propertyDomElement);
  
              foreach ($propertySettings as $settingName => $settingValue) {
                  $settingValueString = (is_string($settingValue) ? $settingValue : var_export($settingValue, true));
                  $propertyDomElement->setAttribute($settingName, $settingValueString);
              }
          }
  
          return $domDocument;
      }
code_tokens: public function renderStandalone ( ) { $ domDocument = new \ DOMDocument ( "1.0" , "utf-8" ) ; $ domDocument -> xmlStandalone = true ; $ domElement = $ domDocument -> createElement ( "ui_properties" ) ; $ domDocument -> appendChild ( $ domElement ) ; $ allProperties = $ this -> getProperties ( ) ; foreach ( $ allProperties as $ property => $ propertySettings ) { if ( ! $ propertySettings ) { continue ; } $ propertyDomElement = $ domDocument -> createElement ( $ property ) ; $ domElement -> appendChild ( $ propertyDomElement ) ; foreach ( $ propertySettings as $ settingName => $ settingValue ) { $ settingValueString = ( is_string ( $ settingValue ) ? $ settingValue : var_export ( $ settingValue , true ) ) ; $ propertyDomElement -> setAttribute ( $ settingName , $ settingValueString ) ; } } return $ domDocument ; }
docstring: Render the UI Properties standalone
  
  @return \DOMDocument
docstring_tokens: Render the UI Properties standalone