/**
  * Creates the data loader and returns it.
  *
  * @param string $application
  *
  * @return sfPropelData
  */
 protected static function createLoader($application = 'frontend')
 {
     if (is_null(self::$loader)) {
         new sfDatabaseManager(ProjectConfiguration::getApplicationConfiguration($application, 'test', true));
         self::$loader = new sfPropelData();
     }
     return self::$loader;
 }