/** * Rewrite template option for tag. When tag will be closed option will be reverted. * @param int $option option constant * @param bool $value true — add option, false — remove option */ public function setOption($option, $value) { $actual = (bool) ($this->tpl->getOptions() & $option); if ($actual != $value) { $this->_changed[$option] = $actual; $this->tpl->setOption(\Fenom::AUTO_ESCAPE, $value); } }