You are here

public function Cleantalk::isAllowUser in Anti Spam by CleanTalk 9.1.x

Same name and namespace in other branches
  1. 8.4 src/lib/Cleantalk/Antispam/Cleantalk.php \Cleantalk\Antispam\Cleantalk::isAllowUser()

Function checks whether it is possible to publish the message

Parameters

CleantalkRequest $request:

Return value

type

File

src/lib/Cleantalk/Antispam/Cleantalk.php, line 130

Class

Cleantalk
Cleantalk class create request

Namespace

Cleantalk\Antispam

Code

public function isAllowUser(CleantalkRequest $request) {
  $request = $this
    ->filterRequest($request);
  $msg = $this
    ->createMsg('check_newuser', $request);
  return $this
    ->httpRequest($msg);
}