Revision: 5175
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at February 16, 2008 07:41 by chucktrukk
Initial Code
<?php $ar_chunks = split(',',$chunks); $ar_chunks = array_unique($ar_chunks); $output = ''; foreach ($ar_chunks as $chunk) { if ($chunk != '') { $c = $modx->getChunk($chunk); if ($c) $output .= $c; } } if ($output != '' && isset($wrapperdiv)) { $output = '<div id="'.$wrapperdiv.'">'.$output.'</div>'; } return $output; ?>
Initial URL
Initial Description
Initial Title
chunkListParser
Initial Tags
php, textmate, template
Initial Language
PHP