public function __construct($conf) { $this->conf = $conf; $this->tablePrefix = isset($this->conf['master']['tableprefix']) ? $this->conf['master']['tableprefix'] : ''; }