: \'active\', \'parent\' => isset($parentClass) ? $parentClass : \'\', \'row\' => isset($rowClass) ? $rowClass : \'\', \'outer\' => isset($outerClass) ? $outerClass : \'\', \'inner\' => isset($innerClass) ? $innerClass : \'\', \'level\' => isset($levelClass) ? $levelClass: \'\', \'self\' => isset($selfClass) ? $selfClass : \'\', \'weblink\' => isset($webLinkClass) ? $webLinkClass : \'\' ); /* get user templates * TODO: eventually move these into config parameters */ $wf->_templates = array( \'outerTpl\' => isset($outerTpl) ? $outerTpl : \'\', \'rowTpl\' => isset($rowTpl) ? $rowTpl : \'\', \'parentRowTpl\' => isset($parentRowTpl) ? $parentRowTpl : \'\', \'parentRowHereTpl\' => isset($parentRowHereTpl) ? $parentRowHereTpl : \'\', \'hereTpl\' => isset($hereTpl) ? $hereTpl : \'\', \'innerTpl\' => isset($innerTpl) ? $innerTpl : \'\', \'innerRowTpl\' => isset($innerRowTpl) ? $innerRowTpl : \'\', \'innerHereTpl\' => isset($innerHereTpl) ? $innerHereTpl : \'\', \'activeParentRowTpl\' => isset($activeParentRowTpl) ? $activeParentRowTpl : \'\', \'categoryFoldersTpl\' => isset($categoryFoldersTpl) ? $categoryFoldersTpl : \'\', \'startItemTpl\' => isset($startItemTpl) ? $startItemTpl : \'\' ); /* process Wayfinder */ $output = $wf->run(); if ($wf->_config[\'debug\']) { $output .= $wf->renderDebugOutput(); } /* output results */ if ($wf->_config[\'ph\']) { $modx->setPlaceholder($wf->_config[\'ph