当前位置: 首页>>代码示例>>PHP>>正文


PHP FrmAppHelper::locales方法代码示例

本文整理汇总了PHP中FrmAppHelper::locales方法的典型用法代码示例。如果您正苦于以下问题:PHP FrmAppHelper::locales方法的具体用法?PHP FrmAppHelper::locales怎么用?PHP FrmAppHelper::locales使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在FrmAppHelper的用法示例。


在下文中一共展示了FrmAppHelper::locales方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: display_form

 public static function display_form($errors = array(), $message = '')
 {
     global $frm_vars;
     $frm_settings = FrmAppHelper::get_settings();
     $frm_roles = FrmAppHelper::frm_capabilities();
     $uploads = wp_upload_dir();
     $target_path = $uploads['basedir'] . '/formidable/css';
     $sections = apply_filters('frm_add_settings_section', array());
     $captcha_lang = FrmAppHelper::locales('captcha');
     require FrmAppHelper::plugin_path() . '/classes/views/frm-settings/form.php';
 }
开发者ID:rbkhrlstn,项目名称:formidable-forms,代码行数:11,代码来源:FrmSettingsController.php

示例2: display_form

 public static function display_form($errors = array(), $message = '')
 {
     global $frm_vars;
     $frm_settings = FrmAppHelper::get_settings();
     $frm_roles = FrmAppHelper::frm_capabilities();
     $uploads = wp_upload_dir();
     $target_path = $uploads['basedir'] . '/formidable/css';
     $sections = array();
     if (apply_filters('frm_include_addon_page', false)) {
         $sections['licenses'] = array('class' => 'FrmAddonsController', 'function' => 'license_settings', 'name' => __('Plugin Licenses', 'formidable'));
     }
     $sections = apply_filters('frm_add_settings_section', $sections);
     $captcha_lang = FrmAppHelper::locales('captcha');
     require FrmAppHelper::plugin_path() . '/classes/views/frm-settings/form.php';
 }
开发者ID:LeanderWesterhout,项目名称:leander,代码行数:15,代码来源:FrmSettingsController.php

示例3: options_form

 public static function options_form($field, $display, $values)
 {
     remove_action('frm_field_options_form', 'FrmFieldsController::add_conditional_update_msg', 50);
     global $frm_vars;
     $frm_settings = FrmAppHelper::get_settings();
     $form_fields = false;
     if ($display['logic'] && !empty($field['hide_field']) && is_array($field['hide_field'])) {
         $form_fields = FrmField::get_all_for_form($values['id']);
     }
     if ('data' == $field['type']) {
         $frm_field_selection = FrmField::pro_field_selection();
     }
     if ($field['type'] == 'date') {
         $locales = FrmAppHelper::locales('date');
     } else {
         if ($field['type'] == 'file') {
             $mimes = get_allowed_mime_types();
         }
     }
     require FrmAppHelper::plugin_path() . '/pro/classes/views/frmpro-fields/options-form.php';
 }
开发者ID:swc-dng,项目名称:swcsandbox,代码行数:21,代码来源:FrmProFieldsController.php


注:本文中的FrmAppHelper::locales方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。