code: protected function addTableTlTheme(\DOMDocument $xml, \DOMNode $tables, Result $objTheme)
  	{
  		// Add the table
  		$table = $xml->createElement('table');
  		$table->setAttribute('name', 'tl_theme');
  		$table = $tables->appendChild($table);
  
  		// Load the DCA
  		$this->loadDataContainer('tl_theme');
  
  		// Get the order fields
  		$objDcaExtractor = DcaExtractor::getInstance('tl_theme');
  		$arrOrder = $objDcaExtractor->getOrderFields();
  
  		// Add the row
  		$this->addDataRow($xml, $table, $objTheme->row(), $arrOrder);
  	}
docs: Add the table tl_theme
  
  @param \DOMDocument         $xml
  @param \DOMNode|\DOMElement $tables
  @param Result               $objTheme