Class MachII_framework_AppLoader

Description

Responsible for controlling loading/reloading of the AppManager.

Located in /MachII/framework/AppLoader.php (line 11)


	
			
Method Summary
MachII_framework_AppLoader __construct (string $configPath)
string getConfigPath ()
integer getLastReloadDate ()
void reloadConfig ()
void setAppFactory (MachII_framework_AppFactory $appFactory)
void setAppManager (MachII_framework_AppManager $appManager)
void setConfigPath (string $configPath)
void setLastReloadDate (integer $lastReloadDate)
boolean shouldReloadConfig ()
Methods
Constructor __construct (line 44)

Configure the application

MachII_framework_AppLoader __construct (string $configPath)
  • string $configPath: path and filename of the configuration file
getAppFactory (line 141)
MachII_framework_AppFactory getAppFactory ()
getAppManager (line 125)
MachII_framework_AppManager getAppManager ()
getConfigPath (line 109)
  • return: path and filename of the configuration file
string getConfigPath ()
getLastReloadDate (line 92)
  • return: Unix timestamp
integer getLastReloadDate ()
reloadConfig (line 72)

Create a new application manager

Creates a new application manager from the configuration and updates the last reload date to the current date/time.

void reloadConfig ()
setAppFactory (line 133)
void setAppFactory (MachII_framework_AppFactory $appFactory)
setAppManager (line 117)
void setAppManager (MachII_framework_AppManager $appManager)
setConfigPath (line 101)

Set the path and filename of the configuration file

void setConfigPath (string $configPath)
  • string $configPath: absolute path and filename of the configuration file
setLastReloadDate (line 84)
void setLastReloadDate (integer $lastReloadDate)
  • integer $lastReloadDate: Unix timestamp
shouldReloadConfig (line 59)

Determine if the configuration file should be reloaded

Checks if the configuration file has been modified since it was last loaded.

boolean shouldReloadConfig ()

Documentation generated on Thu, 20 Jan 2005 10:47:25 -0800 by phpDocumentor 1.3.0RC3