vB_StopForumSpam
in package
Uses
vB_Trait_NoSerialize
Class to handle interacting with the Stop Forum Spam service
Table of Contents
Methods
- __serialize() : array<string|int, mixed>
- __sleep() : array<string|int, mixed>
- __unserialize() : void
- __wakeup() : void
- checkRegistration() : bool
- instance() : mixed
- Enforces singleton use
- markAsSpam() : mixed
- Submit spam
Methods
__serialize()
public
__serialize() : array<string|int, mixed>
Return values
array<string|int, mixed>__sleep()
public
__sleep() : array<string|int, mixed>
Return values
array<string|int, mixed>__unserialize()
public
__unserialize(array<string|int, mixed> $serialized) : void
Parameters
- $serialized : array<string|int, mixed>
__wakeup()
public
__wakeup() : void
checkRegistration()
public
checkRegistration([mixed $username = '' ][, mixed $ipaddress = '' ][, mixed $email = '' ]) : bool
Parameters
- $username : mixed = ''
- $ipaddress : mixed = ''
- $email : mixed = ''
Return values
bool —validity of request
instance()
Enforces singleton use
public
static instance() : mixed
markAsSpam()
Submit spam
public
markAsSpam(mixed $username, mixed $ip_addr, mixed $evidence, mixed $email) : mixed
Parameters
- $username : mixed
- $ip_addr : mixed
- $evidence : mixed
- $email : mixed