Interfaces, Classes, Traits and Enums
- ControllerInterface
Table of Contents
-
INCIDENT_EXPIRATION_TIME
= 600
-
IP_LIST
= 'login-ip-list'
-
MAX_INCIDENT_COUNT
= 6
-
USER_LIST
= 'login-user-list'
-
$empresa
: Empresa
-
$title
: string
-
__construct()
: mixed
-
clearIncidents()
: void
-
getPageData()
: array<string|int, mixed>
-
run()
: void
-
saveIncident()
: void
-
userHasManyIncidents()
: bool
-
changePasswordAction()
: void
-
getIpList()
: array<string|int, mixed>
-
getUserList()
: array<string|int, mixed>
-
loginAction()
: void
-
logoutAction()
: void
-
validateFormToken()
: bool
INCIDENT_EXPIRATION_TIME
public
mixed
INCIDENT_EXPIRATION_TIME
= 600
IP_LIST
public
mixed
IP_LIST
= 'login-ip-list'
MAX_INCIDENT_COUNT
public
mixed
MAX_INCIDENT_COUNT
= 6
USER_LIST
public
mixed
USER_LIST
= 'login-user-list'
$empresa
public
Empresa
$empresa
$title
public
string
$title
= 'Login'
__construct()
public
__construct(string $className[, string $url = '' ]) : mixed
Parameters
-
$className
: string
-
-
$url
: string
= ''
-
Return values
mixed
—
clearIncidents()
public
clearIncidents() : void
Return values
void
—
getPageData()
public
getPageData() : array<string|int, mixed>
Return values
array<string|int, mixed>
—
run()
public
run() : void
Return values
void
—
saveIncident()
public
saveIncident(string $ip[, string $user = '' ][, int|null $time = null ]) : void
Parameters
-
$ip
: string
-
-
$user
: string
= ''
-
-
$time
: int|null
= null
-
Return values
void
—
userHasManyIncidents()
public
userHasManyIncidents(string $ip[, string $username = '' ]) : bool
Parameters
-
$ip
: string
-
-
$username
: string
= ''
-
Return values
bool
—
changePasswordAction()
private
changePasswordAction(Request $request) : void
Parameters
-
$request
: Request
-
Return values
void
—
getIpList()
private
getIpList() : array<string|int, mixed>
Return values
array<string|int, mixed>
—
getUserList()
private
getUserList() : array<string|int, mixed>
Return values
array<string|int, mixed>
—
loginAction()
private
loginAction(Request $request) : void
Parameters
-
$request
: Request
-
Return values
void
—
logoutAction()
private
logoutAction(Request $request) : void
Parameters
-
$request
: Request
-
Return values
void
—
private
validateFormToken(Request $request) : bool
Parameters
-
$request
: Request
-
Return values
bool
—