/**
  * (non-PHPdoc)
  * @see lib/config/sfPluginConfiguration::initialize()
  */
 public function initialize()
 {
     if (sfConfig::get('app_xcssplugin_routes_register', true) && in_array('xcss', sfConfig::get('sf_enabled_modules', array()))) {
         $this->dispatcher->connect('routing.load_configuration', array('sfXCSSRouting', 'listenToRoutingLoadConfigurationEvent'));
     }
     return parent::initialize();
 }
 function initialize()
 {
     parent::initialize();
     if (class_exists('sfPlop')) {
         sfPlop::loadPlugin(array('modules' => array('sfGuardUser' => array('name' => 'Users', 'route' => '@sf_guard_user'), 'sfGuardGroup' => array('name' => 'Groups', 'route' => '@sf_guard_group'))));
     }
 }
 function initialize()
 {
     parent::initialize();
     if (class_exists('sfPlop')) {
         sfPlop::loadPlugin(array('modules' => array('sfAssetLibrary' => array('name' => 'Media library', 'route' => '@sf_asset_library_root'), 'sfAssetGallery' => array('name' => 'Media galleries', 'route' => '@sfAssetGallery')), 'slots' => array('Asset' => 'Asset', 'AssetGallery' => 'Asset gallery', 'CustomGalleryAsset' => 'Custom gallery asset', 'AssetGalleryNavigation' => 'Asset galleries list')));
     }
 }
 /**
  * @see sfPluginConfiguration
  */
 public function initialize()
 {
     parent::initialize();
     $this->myDoctrineLogger = new myDoctrineLogger($this->dispatcher, array());
     if (!$this->dispatcher->hasListeners('app.activity')) {
         $this->dispatcher->connect('app.activity', array($this->myDoctrineLogger, 'listenToLogEvent'));
     }
 }
 public function initialize()
 {
     parent::initialize();
     if (sfConfig::get('app_customer_bug_reporter_enabled')) {
         $this->dispatcher->connect('debug.web.load_panels', array('acWebDebugPanelReport', 'listenToLoadDebugWebPanelEvent'));
         $this->dispatcher->connect('routing.load_configuration', array('customerBugReporterRouting', 'listenToRoutingLoadConfigurationEvent'));
     }
 }
 public function initialize()
 {
     parent::initialize();
     if (class_exists('sfPlop')) {
         sfPlop::loadPlugin(array('modules' => array('sf_extranet_dashboard' => array('name' => 'Extranet dashboard', 'route' => '@sf_extranet_dashboard'), 'sf_extranet_event' => array('name' => 'Extranet events', 'route' => '@sf_extranet_event'), 'sf_extranet_document' => array('name' => 'Extranet documents', 'route' => '@sf_extranet_document'))));
     }
     sfConfig::add(array('extranet_dashboard_pagination' => 10, 'extranet_anonymous_name' => 'Anonymous', 'extranet_event_fields' => array('title', 'description', 'date', 'is_published'), 'extranet_document_fields' => array('title', 'category', 'file', 'is_published')));
 }
 public function initialize()
 {
     require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'config.php';
     return parent::initialize();
 }