You are here

abstract public function DB::fetch 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::fetch()
  2. 9.1.x src/lib/Cleantalk/ApbctDrupal/DB.php \Cleantalk\ApbctDrupal\DB::fetch()
Same name and namespace in other branches
  1. 8.4 src/lib/Cleantalk/Common/DB.php \Cleantalk\Common\DB::fetch()

Fetchs first column from query. May receive raw or prepared query.

Parameters

bool $query:

bool $response_type:

Return value

array|object|void|null

1 method overrides DB::fetch()
DB::fetch in src/lib/Cleantalk/ApbctDrupal/DB.php
Fetchs first column from query. May receive raw or prepared query.

File

src/lib/Cleantalk/Common/DB.php, line 88

Class

DB
CleanTalk abstract Data Base driver. Shows what should be inside. Uses singleton pattern.

Namespace

Cleantalk\Common

Code

public abstract function fetch($query = false, $response_type = false);