src/Mouf/MoufManager.php
public static function initMoufManager() {
		if (self::$defaultInstance == null) {
			self::$defaultInstance = new MoufManager();
			self::$defaultInstance->configManager = new MoufConfigManager("../../../../../config.php");
			self::$defaultInstance->componentsFileName = "../../../../../mouf/MoufComponents.php";
			//self::$defaultInstance->requireFileName = "../MoufRequire.php";
			self::$defaultInstance->adminUiFileName = "../../../../../mouf/MoufUI.php";
			self::$defaultInstance->mainClassName = "Mouf";
			// FIXME: not appscope for sure
			self::$defaultInstance->scope = MoufManager::SCOPE_APP;

		}
	}
public static function initMoufManager() {
		if (self::$defaultInstance == null) {
			self::$defaultInstance = new MoufManager();
			self::$defaultInstance->configManager = new MoufConfigManager("../../../../../config.php");
			self::$defaultInstance->componentsFileName = "../../../../../mouf/MoufComponents.php";
			//self::$defaultInstance->requireFileName = "../MoufRequire.php";
			self::$defaultInstance->adminUiFileName = "../../../../../mouf/MoufUI.php";
			self::$defaultInstance->mainClassName = "Mouf";
			// FIXME: not appscope for sure
			self::$defaultInstance->scope = MoufManager::SCOPE_APP;

		}
	}
public static function initMoufManager ( ) { if ( self :: $ defaultInstance == null ) { self :: $ defaultInstance = new MoufManager ( ) ; self :: $ defaultInstance -> configManager = new MoufConfigManager ( "../../../../../config.php" ) ; self :: $ defaultInstance -> componentsFileName = "../../../../../mouf/MoufComponents.php" ; //self::$defaultInstance->requireFileName = "../MoufRequire.php";
 self :: $ defaultInstance -> adminUiFileName = "../../../../../mouf/MoufUI.php" ; self :: $ defaultInstance -> mainClassName = "Mouf" ; // FIXME: not appscope for sure
 self :: $ defaultInstance -> scope = MoufManager :: SCOPE_APP ; } }
Instantiates the default instance of the MoufManager.
Does nothing if the default instance is already instanciated.
Instantiates the default instance of the MoufManager . Does nothing if the default instance is already instanciated .