/** * @param SJB_TemplateProcessor $tp */ function registerTags($tp) { $tp->unregisterPlugin('function', 'input'); $tp->unregisterPlugin('function', 'display'); $tp->registerPlugin('function', 'input', array(&$this, 'tpl_input')); $tp->registerPlugin('function', 'display', array(&$this, 'tpl_display')); $this->registerTemplateProcessor($tp); }