/** * Overloads the normal <code>setComponent</code> method - sets the Theme * component to the wrapper component and adds the argument to the latter. * @access public * @param ref object A component. **/ function setComponent($component) { parent::setComponent($this->_wrapper); $this->_main->removeAll(); $this->_main->add($component); }