public function __construct($name = "")
 {
     try {
         $user = CustomLoginProvider::getLoggedInUser();
         throw new ForceResponseException(new RedirectResponse('/portal/'));
     } catch (NotLoggedInException $ex) {
     }
     parent::__construct($name);
 }
 public function __construct($name = "")
 {
     LayoutModule::setLayoutClassName(PortalLayout::class);
     parent::__construct($name);
 }
 public function __construct($name = "")
 {
     parent::__construct($name);
 }
 public function __construct($imageUrls, $name = "")
 {
     parent::__construct($name);
     $this->imgs = $imageUrls;
 }
 public function __construct($userID, $name = "")
 {
     parent::__construct($name);
     $this->userID = $userID;
 }
 public function __construct($name = "")
 {
     self::$imgpath = 'usrdata/' . $_COOKIE['PHPSESSID'] . '/';
     parent::__construct($name);
     self::parseFiles();
 }
 public function __construct($gallery)
 {
     $this->gallery = $gallery;
     parent::__construct("gallery-thumbnail");
 }