當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。