public function __construct(&$vars, $app, $fillvars = false) { parent::__construct($vars); $this->_xmlConfig = new Horde_Config($app); $this->_vars =& $vars; $this->_fillvars = $fillvars; if ($fillvars) { $vars->app = $app; } $config = $this->_xmlConfig->readXMLConfig(); $this->addHidden('', 'app', 'text', true); $this->_buildVariables($config); }