function queryFactoryMeta($zp_field, $zp_res) { $this->type = @pg_field_type($zp_res, $zp_field); $this->max_length = @pg_field_len($zp_res, $zp_field); }
function vty_field_len($list,$i){ switch($this->vtAdi){ case 'mysql': return mysql_field_len($list,$i); break; case 'odbc': return odbc_field_len($list,$i); break; case 'mssql': return mssql_field_length($list,$i); break; case 'postgresql': pg_field_len($list,$i); break; } }