6 public $prefix = '\phorkie\Database_Adapter_Null';
8 public function __construct()
10 if ($GLOBALS['phorkie']['cfg']['elasticsearch'] != '') {
11 $this->prefix = '\phorkie\Database_Adapter_Elasticsearch';
14 public function getSearch()
16 $class = $this->prefix . '_Search';
20 public function getIndexer()
22 $class = $this->prefix . '_Indexer';
26 public function getSetup()
28 $class = $this->prefix . '_Setup';