concrete/src/Block/BlockType/Set.php
public static function exportList($xml)
    {
        $app = Application::getFacadeApplication();
        $db = $app->make(Connection::class);
        $bxml = $xml->addChild('blocktypesets');
        $rs = $db->executeQuery('select btsID from BlockTypeSets order by btsID asc');
        while (($btsID = $rs->fetchColumn()) !== false) {
            $bts = static::getByID($btsID);
            $bts->export($bxml);
        }
    }
public static function exportList($xml)
    {
        $app = Application::getFacadeApplication();
        $db = $app->make(Connection::class);
        $bxml = $xml->addChild('blocktypesets');
        $rs = $db->executeQuery('select btsID from BlockTypeSets order by btsID asc');
        while (($btsID = $rs->fetchColumn()) !== false) {
            $bts = static::getByID($btsID);
            $bts->export($bxml);
        }
    }
public static function exportList ( $ xml ) { $ app = Application :: getFacadeApplication ( ) ; $ db = $ app -> make ( Connection :: class ) ; $ bxml = $ xml -> addChild ( 'blocktypesets' ) ; $ rs = $ db -> executeQuery ( 'select btsID from BlockTypeSets order by btsID asc' ) ; while ( ( $ btsID = $ rs -> fetchColumn ( ) ) !== false ) { $ bts = static :: getByID ( $ btsID ) ; $ bts -> export ( $ bxml ) ; } }
Export all the block type sets to a SimpleXMLElement element.

@param \SimpleXMLElement $xml The parent SimpleXMLElement element
Export all the block type sets to a SimpleXMLElement element .