function __construct()
{
global $DOKU_PLUGINS;
//check if syntax plugins were loaded
if (empty($DOKU_PLUGINS['syntax'])) {
return;
}
foreach ($DOKU_PLUGINS['syntax'] as $n => $p) {
$ptype = $p->getPType();
if ($ptype == 'block') {
$this->blockOpen[] = 'plugin_' . $n;
$this->blockClose[] = 'plugin_' . $n;
} elseif ($ptype == 'stack') {
$this->stackOpen[] = 'plugin_' . $n;
$this->stackClose[] = 'plugin_' . $n;
}
}
}