You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
769 B
33 lines
769 B
############## |
|
Login Attempts |
|
############## |
|
|
|
|
|
*************** |
|
Class Reference |
|
*************** |
|
|
|
.. php:class:: LoginAttemptModel |
|
|
|
.. php:method:: find() |
|
|
|
Get login attempt based on time and ip address |
|
|
|
:returns: Login attempt count based |
|
:rtype: integer |
|
|
|
.. php:method:: save() |
|
|
|
Insert/Update login attempt based on time and ip address |
|
|
|
:param array $data: Array with data |
|
:returns: TRUE if Login Attempt Limit is not hit, FALSE if Login Attempt Limit is hit |
|
:rtype: boolean |
|
|
|
.. php:method:: delete() |
|
|
|
Delete login attempt based on time and ip address |
|
|
|
:param array $data: Array with data |
|
:returns: TRUE if Login Attempt Limit is not hit, FALSE if Login Attempt Limit is hit |
|
:rtype: boolean
|
|
|