bootstrapfunction.php

Functions

join_data()

join_data(  $array,   $separator = '') 

Parameters

$array
$separator

addon_path()

addon_path(  $name,   $path = '') 

Parameters

$name
$path

system_config()

system_config(  $cfgKey = array(),   $group = 'system') 

Parameters

$cfgKey
$group

system_config_cache()

system_config_cache(  $cfgKey,   $group) 

Parameters

$cfgKey
$group

update_system_config_cache()

update_system_config_cache() 

system_config_store()

system_config_store(  $data,   $group) 

Parameters

$data
$group

system_http_domain()

system_http_domain() 

system_image_url()

system_image_url(  $path) 

Parameters

$path

system_resource_url()

system_resource_url(  $path) 

Parameters

$path

call_hook_function()

call_hook_function(  $name,   $arg) 

Parameters

$name
$arg

system_model_count()

system_model_count(\App\Models\MyModel  $model,   $where = array()) 

Parameters

\App\Models\MyModel $model
$where

system_model_sum()

system_model_sum(\App\Models\MyModel  $model,   $fields,   $where = array()) 

Parameters

\App\Models\MyModel $model
$fields
$where

is_mobile()

is_mobile() 

paramFilter()

paramFilter(  $value) 

Parameters

$value

get_client_ip()

get_client_ip() 

get_img_suffix()

get_img_suffix(  $name) 

Parameters

$name

get_resource_http_path()

get_resource_http_path(  $src,   $url) 

Parameters

$src
$url

create_pay_log()

create_pay_log(  $userId,   $total,   $goodsId,   $goodsName,   $tradeType,   $payType = 'dmf') 

Parameters

$userId
$total
$goodsId
$goodsName
$tradeType
$payType

finish_pay_order()

finish_pay_order(  $tradeNo) 

Parameters

$tradeNo