Wrap a Block

Submitted by krebbi - 3 years ago

To wrap a block in an element or append an element by default to all blocks in an area:

$a = new Area('Main');
$a->setBlockWrapperStart('<div class="blockcontent">');
$a->setBlockWrapperEnd('</div><div class="space"></div>');
$a->display($c);
Stats Categories Tags
comments powered by Disqus