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


PHP GFAddOn::styles方法代码示例

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


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

示例1: styles

 public function styles()
 {
     parent::styles();
     return array(array("handle" => "gravityforms-digitalocean_css", "src" => $this->get_base_url() . "/css/gfdo.css", "version" => GFCommon::$version, "enqueue" => array(array("admin_page" => array("form_settings", "plugin_settings", "plugin_page")))));
 }
开发者ID:BAY-A,项目名称:Gravity-Forms-DigitalOcean,代码行数:5,代码来源:gravityforms-digitalocean.php

示例2: styles

 protected function styles()
 {
     $my_styles = array(array("handle" => "gform_admin", "src" => GFCommon::get_base_url() . "/css/admin.css", "version" => GFCommon::$version, "enqueue" => array(array("query" => "page=" . $this->_slug))));
     return array_merge(parent::styles(), $my_styles);
 }
开发者ID:radon1284,项目名称:webapiclient,代码行数:5,代码来源:webapiclient.php

示例3: styles

 public function styles()
 {
     return array_merge(parent::styles(), array(array('handle' => 'gravity_forms_section_tabs_main', 'src' => $this->get_base_url() . '/css/main.css', 'version' => $this->_version, 'enqueue' => array(array('field_types' => array('section'))))));
 }
开发者ID:andresglx,项目名称:gravity-forms-section-tabs,代码行数:4,代码来源:gravityforms-section-tabs.php

示例4: styles

 public function styles()
 {
     $min = defined('SCRIPT_DEBUG') && SCRIPT_DEBUG || isset($_GET['gform_debug']) ? '' : '.min';
     $styles = array(array('handle' => 'gfwebap_settings', 'src' => GFCommon::get_base_url() . "/includes/webapi/css/gfwebapi_settings{$min}.css", 'version' => $this->_version, 'deps' => array('thickbox'), 'enqueue' => array(array('admin_page' => array('plugin_settings')))));
     return array_merge(parent::styles(), $styles);
 }
开发者ID:SayenkoDesign,项目名称:ividf,代码行数:6,代码来源:webapi.php

示例5: styles

 /**
  * Include admin css
  *
  */
 public function styles()
 {
     $styles = array(array("handle" => "sticky-list_admin_styles", "src" => $this->get_base_url() . "/css/sticky-list_admin_styles.css", "version" => $this->_version, "enqueue" => array(array("admin_page" => array("form_settings"), "tab" => "sticky-list"))));
     return array_merge(parent::styles(), $styles);
 }
开发者ID:Ezyva2015,项目名称:SMSF-Academy-Wordpress,代码行数:9,代码来源:class-sticky-list.php

示例6: styles

 /**
  * Return the stylesheets which should be enqueued.
  *
  * @return array
  */
 public function styles()
 {
     $styles = array(array('handle' => 'gpoll_form_editor_css', 'src' => $this->get_base_url() . '/css/gpoll_form_editor.css', 'version' => $this->_version, 'enqueue' => array(array('admin_page' => array('form_editor')))), array('handle' => 'gpoll_css', 'src' => $this->get_base_url() . '/css/gpoll.css', 'version' => $this->_version, 'enqueue' => array(array('field_types' => array('poll')), array('admin_page' => array('form_editor', 'results', 'entry_view', 'entry_detail')))));
     return array_merge(parent::styles(), $styles);
 }
开发者ID:GravityPDF,项目名称:gravityformspolls,代码行数:10,代码来源:class-gf-polls.php

示例7: styles

 /**
  * Register styles in the app admin page
  * @return array
  */
 public function styles()
 {
     $styles = parent::styles();
     $styles[] = array('handle' => 'gravityview_settings', 'src' => plugins_url('assets/css/admin-settings.css', GRAVITYVIEW_FILE), 'version' => GravityView_Plugin::version, "deps" => array('gaddon_form_settings_css'), 'enqueue' => array(array('admin_page' => array('app_settings'))));
     return $styles;
 }
开发者ID:roarmoser,项目名称:gv1,代码行数:10,代码来源:class-settings.php

示例8: styles

 /**
  * Return the stylesheets which should be enqueued.
  *
  * @return array
  */
 public function styles()
 {
     $styles = array(array('handle' => 'gquiz_form_editor_css', 'src' => $this->get_base_url() . '/css/gquiz_form_editor.css', 'version' => $this->_version, 'enqueue' => array(array('admin_page' => array('form_editor')))), array('handle' => 'gquiz_form_settings_css', 'src' => $this->get_base_url() . '/css/gquiz_form_settings.css', 'version' => $this->_version, 'enqueue' => array(array('admin_page' => array('form_settings'), 'tab' => array('gravityformsquiz')))), array('handle' => 'gquiz_css', 'src' => $this->get_base_url() . '/css/gquiz.css', 'version' => $this->_version, 'enqueue' => array(array('field_types' => array('quiz')), array('admin_page' => array('form_editor', 'results', 'entry_view', 'entry_detail')))));
     return array_merge(parent::styles(), $styles);
 }
开发者ID:GravityPDF,项目名称:gravityformsquiz,代码行数:10,代码来源:class-gf-quiz.php

示例9: styles

 public function styles()
 {
     $styles = array(array("handle" => "my_styles_css", "src" => $this->get_base_url() . "/css/my_styles.css", "version" => $this->_version, "enqueue" => array(array("field_types" => array("poll")))));
     return array_merge(parent::styles(), $styles);
 }
开发者ID:pauldowlin,项目名称:gravity_forms_multi_entry,代码行数:5,代码来源:class-gf-multi-entry.php

示例10: styles

 public function styles()
 {
     $styles = array(array('handle' => 'gfwebap_settings', 'src' => GFCommon::get_base_url() . '/includes/webapi/css/gfwebapi_settings.css', 'version' => $this->_version, 'deps' => array('thickbox'), 'enqueue' => array(array('admin_page' => array('plugin_settings')))));
     return array_merge(parent::styles(), $styles);
 }
开发者ID:Nguyenkain,项目名称:strida.vn,代码行数:5,代码来源:webapi.php

示例11: styles

 /**
  * Enqueue styles using the Gravity Forms Addons framework
  *
  * @see GFAddOn::styles()
  * @return void
  */
 public function styles()
 {
     $styles = array(array("handle" => "business_hours_admin_style", "src" => $this->get_base_url() . "/assets/css/admin.css", "version" => $this->_version, "enqueue" => array(array("admin_page" => array("entry_view", "entry_detail", "form_editor")))), array("handle" => "business_hours_frontend_style", "src" => $this->get_base_url() . "/assets/css/public.css", "version" => $this->_version, "deps" => array("dashicons"), "enqueue" => array(array("field_types" => array("business_hours")), array("admin_page" => array("entry_edit", "entry_detail")))));
     return array_merge(parent::styles(), $styles);
 }
开发者ID:hughc,项目名称:Gravity-Forms-Business-Hours,代码行数:11,代码来源:gravity-forms-business-hours.php

示例12: styles

 protected function styles()
 {
     $styles = array(array("handle" => "gpoll_form_editor_css", "src" => $this->get_base_url() . "/css/gpoll_form_editor.css", "version" => $this->_version, "enqueue" => array(array("admin_page" => array("form_editor")))), array("handle" => "gpoll_css", "src" => $this->get_base_url() . "/css/gpoll.css", "version" => $this->_version, "enqueue" => array(array("field_types" => array("poll")), array("admin_page" => array("form_editor", "results", "entry_view", "entry_detail")))));
     return array_merge(parent::styles(), $styles);
 }
开发者ID:macconsultinggroup,项目名称:WordPress,代码行数:5,代码来源:polls.php


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