/** * This function add the profile database prefix to the given table * * @param $table * @param null $alias * @return string */ public function quoteTable($table, $alias = null) { if (!empty($this->db_prefix)) { $table = $this->db_prefix . $table; } return $this->db->quoteTableAs($table, $alias); }