コード例 #1
0
ファイル: Setup.php プロジェクト: surflightroy/SwiftriverCore
 /**
  * @return Configuration\ConfigurationHandlers\DALConfigurationHandler
  */
 public static function DALConfiguration()
 {
     if (isset(self::$dalConfiguration)) {
         return self::$dalConfiguration;
     }
     self::$dalConfiguration = new Configuration\ConfigurationHandlers\DALConfigurationHandler(dirname(__FILE__) . "/Configuration/ConfigurationFiles/DALConfiguration.xml");
     return self::$dalConfiguration;
 }
コード例 #2
0
ファイル: Setup.php プロジェクト: katembu/Swiftriver
 /**
  * @return Configuration\ConfigurationHandlers\EventDistributionConfigurationHandler
  */
 public static function EventDistributionConfiguration()
 {
     if (isset(self::$eventDistributionConfiguration)) {
         return self::$eventDistributionConfiguration;
     }
     self::$eventDistributionConfiguration = new Configuration\ConfigurationHandlers\EventDistributionConfigurationHandler(dirname(__FILE__) . "/Configuration/ConfigurationFiles/EventDistributionConfiguration.xml");
     return self::$eventDistributionConfiguration;
 }