聯(lián)系官方銷售客服
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
CSRF過濾白名單配置文件路徑:dayrui/App/插件目錄/Config/Filters.php配置內(nèi)容格式:<?php/** * CSRF過濾白名單 */return [ 'home' =
插件信息文件:Config/App.php<?phpreturn [ 'type' => 'app', // 固定app不變 //'ftype' => 'module', // 可選,做完
內(nèi)容詳情中(show.html) 模板中調(diào)用方法是:{if $字段名}{module module=模塊 IN_id=$字段名 return=r}{$r.url}{$r.title}......{/m
當(dāng)存在內(nèi)外多層循環(huán)時(shí)必須指定return變量,例如:{category****}{module****}{/module}{/category}這樣內(nèi)外循環(huán),就不對(duì)了,需要給他們指定return,來區(qū)
本教程需要有PHP開發(fā)校驗(yàn)的用戶掌握校驗(yàn)函數(shù)的作用是對(duì)用戶輸入的字段值進(jìn)行驗(yàn)證是否合法合規(guī),比如說郵箱格式驗(yàn)證、手機(jī)格式驗(yàn)證等等校驗(yàn)函數(shù)格式:function 函數(shù)名字($value, $data = [], $old = []) { return dr_return_data(1, '校驗(yàn)函數(shù)可以提交'); // 這句話是驗(yàn)證通過,允許提交 return dr_ret...
1、文本、多行文本、ueditor內(nèi)容頁:循環(huán)內(nèi): // $t由循環(huán)的return決定
當(dāng)需要改變模塊內(nèi)容中的某些字段或者聯(lián)動(dòng)加一些相關(guān)數(shù)據(jù)時(shí),就需要格式化顯示內(nèi)容,這個(gè)內(nèi)容只用于模塊內(nèi)容的顯示頁面,show.html頁面重寫conten類http://help.phpcmf.net/461.html內(nèi)容頁面的格式化顯示內(nèi)容繼承類方法// 格式化處理內(nèi)容public function _format_content_data($data) { return $data;}$da...
內(nèi)容詳情中(show.html) 模板中調(diào)用方法是:{if $字段名}{member IN_id=$字段名 return=r}{$r.id}{$r.username}......{/member}{else}沒有關(guān)聯(lián){/if}注意:1、[字段名]需要換成你定義的具體字段英文名稱2、如果在list循環(huán)中調(diào)用,需要把[字段名]改成[$t.字段名]
內(nèi)容詳情中(show.html) 模板中調(diào)用方法是:{if $字段名_sku}按用戶組的值:{php $vsku = dr_string2array($字段名_sku);}{cache name=member_group return=mc}用戶組【{$mc.name}】: {$vsku[$mc.id]}{/cache}{else}全局值:{$字段名}{/if}注意:1、[字段名]需要換成你定義的...
本教程需要有PHP開發(fā)校驗(yàn)的用戶掌握過濾函數(shù)的作用是對(duì)用戶輸入的字段值進(jìn)行過濾或者替換操作,例如把輸入的值進(jìn)行 去掉某些字符、數(shù)組轉(zhuǎn)換成字符串等過濾函數(shù)格式:function 函數(shù)名字($value, $data = [], $old = []) { return '數(shù)據(jù)庫存儲(chǔ)字符串值'; // 返回的數(shù)據(jù)一定要是字符串格式?。。$value 是當(dāng)前表單輸入的值$d...