In this example, I just put the names of each region in the region itself...
The interesting element is the command to put something in e.g. the 'LEFT' region:
<?php $myHTML->appendRegion('LEFT', '* { LEFT } *'); ?>
Why is it interesting? Well, it shows that except some few typical regions like TITLE or BODY, you can actually define arbitrary regions in your template, and add content to them. No limits on the number of regions either.
And as a gift, whatever you write into a region can have a 'priority'. Regions will then be outputted in increasing order of priority. This allows to output different this to a region and trust the most important will be above.
For example, I add in the LEFT region four elements in this order:
<?php
$myHTML->appendRegion('LEFT', '<br>Priority 3', 3);
$myHTML->appendRegion('LEFT', '<br>Priority 1', 1);
$myHTML->appendRegion('LEFT', '<br>Priority 5', 5);
$myHTML->appendRegion('LEFT', '<br>Priority -1<br>', -1);
?>
And you can see the rendering order in the left column... as you can see, no specific priority (output of '* { LEFT } *') means 'zero' and is displayed after negative priorities and before positive ones.