| Server IP : 37.9.174.138 / Your IP : 216.73.216.117 Web Server : Apache System : Linux vps6.backend.sk 6.12.100+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.100-1 (2026-07-30) x86_64 User : ftpuser ( 1001) PHP Version : 8.4.24 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/www/html/backend-accounting.sk/dev/app/classes/ |
Upload File : |
<?php
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
namespace app\classes;
/**
* Description of AdminUser
*
* @author Maroš
*/
class AdminUser extends BasicUser {
public function __construct($email, $idAsEmail = false, $allow_deleted = false, $allow_disabled = false, $types = array()) {
parent::__construct($email, $idAsEmail, $allow_deleted, $allow_disabled, array(\app\constants\UserType::ADMIN));
}
/**
* @return \app\classes\AdminUser
*/
public static function getLoggedUser($types = array()) {
return parent::getLoggedUser(array(\app\constants\UserType::ADMIN));
}
}