framework/functiondb.func.php

Constants

HTTP_X_FOR

HTTP_X_FOR = isset($_SERVER['SERVER_PORT']) && $_SERVER['SERVER_PORT'] == '443' ? 'https://' : 'http://'

Functions

db_table_schema()

db_table_schema(  $db,   $tablename = '') 

Parameters

$db
$tablename

db_table_serialize()

db_table_serialize(  $db,   $dbname) 

Parameters

$db
$dbname

db_table_create_sql()

db_table_create_sql(  $schema) 

Parameters

$schema

db_schema_compare()

db_schema_compare(  $table1,   $table2) 

Parameters

$table1
$table2

db_table_fix_sql()

db_table_fix_sql(  $schema1,   $schema2,   $strict = false) 

Parameters

$schema1
$schema2
$strict

_db_build_index_sql()

_db_build_index_sql(  $index) 

Parameters

$index

_db_build_field_sql()

_db_build_field_sql(  $field) 

Parameters

$field

db_table_schemas()

db_table_schemas(  $table) 

Parameters

$table

db_table_insert_sql()

db_table_insert_sql(  $tablename,   $start,   $size) 

Parameters

$tablename
$start
$size