You are here

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

Alternative constructor. Initilize Database object and write it to property. Set tables prefix.

1 method overrides DB::init()
DB::init in src/lib/Cleantalk/ApbctDrupal/DB.php
Alternative constructor. Initilize Database object and write it to property. Set tables prefix.

File

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

Class

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

Namespace

Cleantalk\Common

Code

protected abstract function init();