联系官方销售客服
1835022288
028-61286886
dr_is_empty,dr_is_sys_301,dr_else_value,dr_safe_url,dr_diff,dr_array_keys,dr_array_value,dr_in_array,dr_array_intersect,dr_array_intersect_key,dr_strlen,dr_strpos,dr_stripos,dr_move_uploaded_file,dr_html2code,dr_code2html,dr_html_code,dr_oauth_list,dr_is_mobile,dr_is_admin_search_field,dr_get_array_key,dr_site_info,dr_site_value,dr_get_ftable,dr_get_ftable_array,dr_get_content_img,dr_get_content_url,dr_is_app,dr_is_module,dr_rp,dr_rp_view,dr_qrcode,dr_sec2time,dr_get_files,dr_get_image,dr_upload_temp_path,dr_star_level,dr_format_create_sql,dr_cms_domain_name,dr_lang,dr_client_data,dr_ueditor_html,dr_get_domain_name,dr_save_bfb_data,dr_avatar_dir,dr_avatar_path,dr_avatar,dr_member_info,dr_member_username_info,dr_list_function,dr_linkagepos,dr_linkage,dr_linkage_json,dr_linkage_list,dr_linkage_id,dr_linkage_cname,dr_linkage_level,dr_payform,dr_fieldform,dr_block,dr_var_value,dr_get_file,dr_down_file,dr_get_file_url,dr_field_options,dr_field_setting,dr_member_auth,dr_member_auth_id,dr_zhe_price,dr_price_value,dr_sku_value_name,dr_sku_price,dr_sku_name,dr_level_next_value,dr_html_auth,dr_pay_type_html,dr_pay_name,dr_pay_type,dr_pay_status,dr_pay_money_html,dr_clear_empty,dr_list_field_order,dr_array2array,dr_array22array,dr_is_use_module,dr_site_table_prefix,dr_module_table_prefix,dr_mform_table_prefix,dr_form_table_prefix,dr_icon,dr_file,dr_file_preview_html,dr_is_image,dr_format_option_array,dr_field_input,dr_dir_map,dr_file_map,dr_return_data,dr_form_hidden,dr_get_csrf_token,dr_form_search_hidden,dr_base64_encode,dr_base64_decode,dr_get_theme,dr_randcode,dr_dir_delete,dr_authcode,dr_now_url,dr_code,dr_sorting,dr_member_order,dr_show_stars,dr_ajax_template,dr_post_json_data,dr_catcher_data,dr_search_rewrite_encode,dr_search_rewrite_decode,dr_rewrite_encode,dr_rewrite_decode,dr_get_keyword,dr_safe_keyword,dr_safe_replace,dr_safe_filename,dr_safe_username,dr_safe_password,dr_rm_http,dr_safe_replace_path,dr_strcut,dr_wordcut,dr_random_color,dr_fdate,dr_date,dr_object2array,dr_arraycut,dr_string2array,dr_array2string,dr_mkdirs,dr_format_file_size,dr_keyword_highlight,dr_preg_html,_format_feed_content_url_length,dr_qrcode_url,dr_get_order_string,dr_discount,dr_distance,dr_square_point,dr_tpl_path,dr_array_rand,dr_array_sort,dr_get_form_post_value,dr_get_mform_post_value,dr_get_register_value,dr_tpl_file,dr_count,dr_http_prefix,dr_to_url,dr_mobile_url,dr_is_url,dr_url_prefix,dr_web_prefix,dr_url_full,dr_url_rel,dr_text_rel,dr_text_full,dr_member_group_etime,dr_member_group_dtype,dr_html2emoji,dr_clear_emoji,dr_text2py,dr_html2text,dr_htmlspecialchars,dr_is_root_path,dr_check_put_path,dr_debug,dr_code2utf8,dr_clearhtml,dr_filter_description,dr_get_description,dr_get_keywords,dr_redirect,dr_redirect_safe_check,remove_invisible_characters
挂钩点名称member_register_after挂钩点参数\Phpcmf\Hooks::trigger('member_register_after', $data);$data参数说明Array
挂钩点名称member_edit_group_after挂钩点参数\Phpcmf\Hooks::trigger('member_edit_group_after', $data);参数说明Array(
挂钩点名称member_verify_cash_after参数介绍Array( [username] => asdfa [phone] => [email] => daf@fda.
挂钩点名称pay_admin_after挂钩点参数\Phpcmf\Hooks::trigger('pay_admin_after', $data);参数说明Array( [uid] => 1
挂钩点名称member_del_group_after挂钩点参数\Phpcmf\Hooks::trigger('member_del_group_after', $data);参数说明Array(
挂钩点名称member_apply_group_before参数介绍Array( [uid] => 用户id [gid] => 组id)#以实际输出的参数为准用法举例/config/hoo
挂钩点名称member_verify_group_after参数介绍Array( [username] => asdfa [phone] => [email] => daf@fda
钩子名称pay_success参数介绍Array( [id] => 446 [site] => 1 [mid] => 1_shop-61-40-1-null [uid] =>
升级PHP8环境需要做以下调整:1、PHP8会报错:in_array(): Argument #2 ($haystack) must be of type array, null given模板标签中
数组剪切函数 v4.6以上支持dr_array_rand(数组,个数可选)作用:将数组随机输出,支持剪切指定个数输出用法:1、随机数组并剪切2个元素$arr = dr_array_rand($arr,
钩子名称member_logout定义方法\Phpcmf\Hooks::trigger('member_logout', $member);参数说明Array( [username] => as
数组剪切函数dr_arraycut(数组,个数)
比如在循环中实现每隔5条记录,加一个隔行符号实现原理:用循环次数变量除于5,如果被整除,表示可以输出隔行符号了实现代码:{php$hang=1;}//初始化行变量{循环标签开始********}***...
cms提供直接输出、PHP代码体两种方便开发者使用的数据输出接口。1、直接输出本类型是将后台录入的数据格式原样输出到客户端返回格式为:array(3) { ["code"]=> int(1) ["msg"]=> string(2) "ok" ["data"]=> st...
一、函数名称\Phpcmf\Service::C()->get_attachment($id)二、函数介绍获取附件的基本信息,如作者、大小、地址、下载次数、文件类型等三、参数值参数介绍$id附件id号四、返回值返回文件信息数组Array ( [id] => 附件id [uid] => 作者id [author] => 作者名称 [filesize] => 文件大小(单...
PHP8环境下,遇到以下错误时:in_array():Argument#2($xxx)mustbeoftypearray,nullgiven需要手动将函数in_array改成dr_in_array
$catids=implode(',',array_keys(\Phpcmf\Service::C()->_module_member_category(\Phpcmf\Service...
判断栏目高亮原理是栏目变量catids数组存储的是此栏目的id集合,开发者可以利用当前栏目id是否存在于这个集合中来判断高亮,例如:{ifin_array($栏目id号,$循环体前缀字母.catids...
新版增加了注册字段可使用姓名作为字段那么注册界面表单内需要加上姓名字段的输入框{ifin_array('name',$register.field)}姓名{/if}
内容详情中(show.html) 模板中调用方法是:选择值: {loop $字段名 $v} {$v} {/loop}选择的名称: {php $field = dr_field_options($字段的ID号);} {loop $field $name $v} {if in_array($name, $字段名)} {$v} {/if} {/loo...
内容详情中(show.html) 模板中调用方法是:{if $字段名_sku}按用户组的值:{php $vsku = dr_string2array($字段名_sku);}{cache name=member_group return=mc}用户组【{$mc.name}】: {$vsku[$mc.id]}{/cache}{else}全局值:{$字段名}{/if}注意:1、[字段名]需要换成你定义的...
模板名称member_edit_level参数说明Array([username]=>asdfa[phone]=>[email]=>daf@fda.com[password]=>d45c371b35ded2de44e7b528c00ee964[name]=>[salt]=>59b90e1005[money]=>0[freeze]=>0[spend]=>0[score]=>0[exp...
模板名称member_edit_group参数说明Array([username]=>asdfa[phone]=>[email]=>daf@fda.com[password]=>d45c371b35ded2de44e7b528c00ee964[name]=>[salt]=>59b90e1005[money]=>0[freeze]=>0[spend]=>0[score]=>0[exp...
模板名称member_verify_cash参数介绍Array([username]=>asdfa[phone]=>[email]=>daf@fda.com[password]=>d45c371b35ded2de44e7b528c00ee964[name]=>[salt]=>59b90e1005[money]=>0[freeze]=>0[spend]=>0[score]=>0[ex...
模板名称member_verify_group参数介绍Array([username]=>asdfa[phone]=>[email]=>daf@fda.com[password]=>d45c371b35ded2de44e7b528c00ee964[name]=>[salt]=>59b90e1005[money]=>0[freeze]=>0[spend]=>0[score]=>0[e...
模板名称password_after参数说明Array([username]=>asdfa[phone]=>[email]=>daf@fda.com[password]=>d45c371b35ded2de44e7b528c00ee964[name]=>[salt]=>59b90e1005[money]=>0[freeze]=>0[spend]=>0[score]=>0[experi...
模板名称pay_success参数介绍Array([id]=>446[mid]=>1_shop-61-40-1-null[uid]=>1[username]=>dayrui[touid]=>4310[tousername]=>test[title]=>点赞[value]=>-10.00[type]=>phpcmf[status]=>1[result]=>[paytime]=>...
模板名称pay_admin参数说明Array([uid]=>1[username]=>dayrui[value]=>100[result]=>test)
模板名称member_register参数说明Array([username]=>asdfa[phone]=>[email]=>daf@fda.com[password]=>d45c371b35ded2de44e7b528c00ee964[name]=>[salt]=>59b90e1005[money]=>0[freeze]=>0[spend]=>0[score]=>0[exper...