DbSql::ReplacePre PHP Method

ReplacePre() public method

替换数据表前缀
public ReplacePre ( &$s ) : string
return string
    public function ReplacePre(&$s)
    {
        $s = str_replace('%pre%', $this->db->dbpre, $s);
        return $s;
    }