You are here

public function DB::set_query in Anti Spam by CleanTalk 9.1.x

Same name in this branch
  1. 9.1.x src/lib/Cleantalk/Common/DB.php \Cleantalk\Common\DB::set_query()
  2. 9.1.x src/lib/Cleantalk/ApbctDrupal/DB.php \Cleantalk\ApbctDrupal\DB::set_query()
Same name and namespace in other branches
  1. 8.4 src/lib/Cleantalk/ApbctDrupal/DB.php \Cleantalk\ApbctDrupal\DB::set_query()

Set $this->query string for next uses

Parameters

$query:

Return value

$this

Overrides DB::set_query

File

src/lib/Cleantalk/ApbctDrupal/DB.php, line 21

Class

DB

Namespace

Cleantalk\ApbctDrupal

Code

public function set_query($query) {
  $this->query = $query;
  return $this;
}