예제 #1
0
파일: Fajr.php 프로젝트: BGCX067/fajr-git
 /**
  * Constructor.
  */
 public function __construct(FajrConfig $config)
 {
     $this->config = $config;
     $this->serverManager = ServerManager::getInstance();
     $this->router = Router::getInstance();
     $this->displayManager = DisplayManager::getInstance();
 }
예제 #2
0
 public static function getInstance()
 {
     return new UserSettingsController(SkinSettings::getInstance(), LoginManager::getInstance(), DisplayManager::getInstance());
 }
예제 #3
0
 public static function getInstance()
 {
     $backendFactory = BackendProvider::getInstance();
     return new PredmetyController($backendFactory->newVSST060Factory(), $backendFactory->getServerTime(), DisplayManager::getInstance(), Router::getInstance());
 }
예제 #4
0
 public static function getInstance()
 {
     return new LoginController(FajrConfigLoader::getConfiguration(), LoginManager::getInstance(), ServerManager::getInstance(), SessionStorageProvider::getInstance(), DisplayManager::getInstance(), Router::getInstance());
 }
예제 #5
0
 public static function getInstance()
 {
     return new StaticController(DisplayManager::getInstance(), Router::getInstance());
 }
예제 #6
0
 public static function getInstance()
 {
     $backendFactory = BackendProvider::getInstance();
     return new StudiumController($backendFactory->newVSES017Factory(), $backendFactory->getServerTime(), LoginManager::getInstance(), DisplayManager::getInstance(), Router::getInstance(), Warnings::getInstance(), SessionStorageProvider::getInstance());
 }