dolibarr 21.0.0-beta
|
Library of public page functions. More...
Go to the source code of this file.
Functions | |
checkNbPostsForASpeceificIp ($object, $nb_post_max) | |
Check if the object exceeded the number of posts for a specific ip in the same week. | |
Library of public page functions.
Definition in file public.lib.php.
checkNbPostsForASpeceificIp | ( | $object, | |
$nb_post_max ) |
Check if the object exceeded the number of posts for a specific ip in the same week.
object | $object | Object to check |
int | $nb_post_max | Number max of posts |
Definition at line 39 of file public.lib.php.
References $object, dol_now(), dol_time_plus_duree(), and getUserRemoteIP().