/**
  * Adds common styles, scripts, definition of Main view and adds Head section to main page layout
  * MainController constructor.
  */
 public function __construct()
 {
     parent::__construct(new Main('main'));
     $this->headView = new Head('head');
     $this->mainView->add('head', $this->headView);
     $langSelect = new LangSelector('lang_selector');
     $this->mainView->add('langSelector', $langSelect);
     $this->addStyle('reset');
     $this->addStyle('common');
     $this->addStyle('lang_selector');
     $this->addScript('common');
     $this->addScript('lang_selector');
 }
 public function __construct()
 {
     parent::__construct();
 }