public function apply_runtime_post_processing($html, $vars = array()) { $handlers = PerchSystem::get_registered_template_handlers(); if (PerchUtil::count($handlers)) { foreach ($handlers as $handlerClass) { $Handler = new $handlerClass(); $html = $Handler->render_runtime($html, $this); } } $html = $this->render_settings($html); $html = $this->render_forms($html, $vars); $html = $this->render_layouts($html, $vars); return $html; }