espcms_publicespcms_db.php

Functions

espcms_field_out()

espcms_field_out(  $tableName,   $clear_auto_increment = false,   $out_field = false,   $ex_field = false) 

Parameters

$tableName
$clear_auto_increment
$out_field
$ex_field

espcms_post()

espcms_post(  $postdb_array = array(),   $field_array = array(),   $is_empty_value = false,   $is_addslashes = false,   $update_key_array = false) 

Parameters

$postdb_array
$field_array
$is_empty_value
$is_addslashes
$update_key_array

espcms_post_array()

espcms_post_array(  $postdb_array = array(),   $field_array = array(),   $is_empty_value = false) 

Parameters

$postdb_array
$field_array
$is_empty_value

espcms_db_install_save()

espcms_db_install_save(  $tableName,   $postdb_array = array()) 

Parameters

$tableName
$postdb_array

espcms_db_install_array_save()

espcms_db_install_array_save(  $tableName,   $postdb_array = array()) 

Parameters

$tableName
$postdb_array

espcms_db_update_save()

espcms_db_update_save(  $tableName,   $db_where,   $postdb_array = array()) 

Parameters

$tableName
$db_where
$postdb_array

espcms_db_update_set_save()

espcms_db_update_set_save(  $tableName,   $db_where,   $save_field) 

Parameters

$tableName
$db_where
$save_field

espcms_db_lastid()

espcms_db_lastid(  $tableName,   $id_field,   $return_field = null,   $order_type = 'DESC',   $db_where = '') 

Parameters

$tableName
$id_field
$return_field
$order_type
$db_where

espcms_db_del()

espcms_db_del(  $tableName,   $fieldName,   $value) 

Parameters

$tableName
$fieldName
$value

espcms_db_delall()

espcms_db_delall(  $tableName,   $where) 

Parameters

$tableName
$where

espcms_db_num()

espcms_db_num(  $tableName,   $db_where = null,   $num_str = '*') 

Parameters

$tableName
$db_where
$num_str

espcms_db_sum()

espcms_db_sum(  $tableName,   $talbe_field = false,   $db_where = false) 

Parameters

$tableName
$talbe_field
$db_where

espcms_db_read()

espcms_db_read(  $tableName,   $db_where,   $talbe_field_array = array(),   $is_field_str = false) 

Parameters

$tableName
$db_where
$talbe_field_array
$is_field_str

espcms_db_left_join_read()

espcms_db_left_join_read(  $tableName_a,   $tableName_b,   $db_where,   $talbe_field_array_a = array(),   $talbe_field_array_b = array(),   $on_where = false) 

Parameters

$tableName_a
$tableName_b
$db_where
$talbe_field_array_a
$talbe_field_array_b
$on_where

espcms_db_read_field()

espcms_db_read_field(  $tableName,   $db_where,   $db_field) 

Parameters

$tableName
$db_where
$db_field

espcms_db_read_field_array()

espcms_db_read_field_array(  $tableName,   $db_where,   $db_field_array = array()) 

Parameters

$tableName
$db_where
$db_field_array

espcms_db_list_array()

espcms_db_list_array(  $tableName,   $talbe_field_array = array(),   $db_where = false,   $db_order = false,   $limit = false) 

Parameters

$tableName
$talbe_field_array
$db_where
$db_order
$limit

espcms_db_format_where()

espcms_db_format_where(  $array = array(),   $where_field = false,   $where_link = " AND ") 

Parameters

$array
$where_field
$where_link

espcms_db_list_out()

espcms_db_list_out(  $db_table,   $db_where = false,   $order_key = false,   $order_rank = 'DESC',   $limit = false,   $per_page_num = false,   $field_key = false) 

Parameters

$db_table
$db_where
$order_key
$order_rank
$limit
$per_page_num
$field_key

espcms_db_truncate()

espcms_db_truncate(  $tableName) 

Parameters

$tableName

espcms_db_drop_table()

espcms_db_drop_table(  $tableName) 

Parameters

$tableName