ZBlogPHP::ConvertTableAndDatainfo PHP Method

ConvertTableAndDatainfo() public method

对表名和数据结构进行预转换
    public function ConvertTableAndDatainfo()
    {
        if ($this->db->dbpre) {
            $this->table = str_replace('%pre%', $this->db->dbpre, $this->table);
        }
        if ($this->db->type == 'pgsql') {
            foreach ($this->datainfo as $key => &$value) {
                foreach ($value as $k2 => &$v2) {
                    $v2[0] = strtolower($v2[0]);
                }
            }
        }
    }
ZBlogPHP