Exemple #1
0
 /**
  * Constructor.
  */
 public function __construct(FajrConfig $config)
 {
     $this->config = $config;
     $this->serverManager = ServerManager::getInstance();
     $this->router = Router::getInstance();
     $this->displayManager = DisplayManager::getInstance();
 }
 public static function getInstance()
 {
     return new UserSettingsController(SkinSettings::getInstance(), LoginManager::getInstance(), DisplayManager::getInstance());
 }
 public static function getInstance()
 {
     $backendFactory = BackendProvider::getInstance();
     return new PredmetyController($backendFactory->newVSST060Factory(), $backendFactory->getServerTime(), DisplayManager::getInstance(), Router::getInstance());
 }
Exemple #4
0
 public static function getInstance()
 {
     return new LoginController(FajrConfigLoader::getConfiguration(), LoginManager::getInstance(), ServerManager::getInstance(), SessionStorageProvider::getInstance(), DisplayManager::getInstance(), Router::getInstance());
 }
 public static function getInstance()
 {
     return new StaticController(DisplayManager::getInstance(), Router::getInstance());
 }
 public static function getInstance()
 {
     $backendFactory = BackendProvider::getInstance();
     return new StudiumController($backendFactory->newVSES017Factory(), $backendFactory->getServerTime(), LoginManager::getInstance(), DisplayManager::getInstance(), Router::getInstance(), Warnings::getInstance(), SessionStorageProvider::getInstance());
 }