| [ Index ] |
PHP Cross Reference of Nucleus CMS v3.51 code documentation |
[Source view] [Print]
(no description)
| File Size: | 106 lines (3 kb) |
| Included or required: | 1 time |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
| isBanned($blogid, $ip) X-Ref |
| Checks if a given IP is banned from commenting/voting Returns 0 when not banned, or a BANINFO object containing the message and other information of the ban |
| addBan($blogid, $iprange, $reason) X-Ref |
| Adds a new ban to the banlist. Returns 1 on success, 0 on error |
| removeBan($blogid, $iprange) X-Ref |
| Removes a ban from the banlist (correct iprange is needed as argument) Returns 1 on success, 0 on error |
| Generated: Sun Aug 1 03:56:06 2010 |