Beispiel #1
0
 public function asArgument()
 {
     $this->setManagers(\Sylma::getManagers());
     $args = \Sylma::getSettings();
     //$args->set('debug/enable', false);
     $result = parent::asArgument();
     $this->restoreSylma();
     $init = $this->getManager('init');
     $init->setHeaderContent($init->getMime('html'));
     //$args->set('debug/enable', true);
     \Sylma::setSettings($args);
     return $result;
 }