public function __construct(sfSympalContext $sympalContext, sfSympalContent $content, $format = null)
 {
     $this->_symfonyContext = $sympalContext->getSymfonyContext();
     $this->_sympalContext = $sympalContext;
     $this->_configuration = $this->_symfonyContext->getConfiguration();
     $this->_dispatcher = $this->_configuration->getEventDispatcher();
     $this->_configuration->loadHelpers(array('Tag', 'Url', 'Partial'));
     $this->_content = $content;
     $this->_menuItem = $this->_content->getMenuItem();
     $this->_format = $format ? $format : 'html';
 }