• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP FLBuilderModule类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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

示例1: __construct

 /**
  * @method __construct
  */
 public function __construct()
 {
     parent::__construct(array('name' => __('Zoom on photo', 'bbzoom'), 'description' => __('Add Zoom effect on picture.', 'bbzoom'), 'category' => __('Advanced Modules', 'bbzoom'), 'dir' => TP_BB_ZOOM_DIR . 'tpbbzoom/', 'url' => TP_BB_ZOOM_URL . 'tpbbzoom/'));
     $this->add_js('bb-zoom', $this->url . 'assets/js/jquery.zoom.min.js', array('jquery'), null, null);
     $this->add_css('bb-zoom', $this->url . 'assets/css/style.css');
     //$this->add_js( 'bb-zoom-script',  $this->url .'assets/js/script.js', array('bb-zoom'), null, null );
 }
开发者ID:thierrypigot,项目名称:beaver-builder-photo-zoom,代码行数:10,代码来源:tpbbzoom.php


示例2: __construct

 /**
  * @method __construct
  */
 public function __construct()
 {
     parent::__construct(array('name' => __('Slideshow', 'fl-builder'), 'description' => __('Display multiple photos in a slideshow view.', 'fl-builder'), 'category' => __('Advanced Modules', 'fl-builder'), 'editor_export' => false));
     $this->add_js('yui3');
     $this->add_js('fl-slideshow');
     $this->add_css('fl-slideshow');
 }
开发者ID:spokencode,项目名称:bophillips,代码行数:10,代码来源:slideshow.php


示例3: __construct

 /**
  * @method __construct
  */
 public function __construct()
 {
     parent::__construct(array('name' => __('Testimonials', 'fl-builder'), 'description' => __('An animated tesimonials area.', 'fl-builder'), 'category' => __('Advanced Modules', 'fl-builder')));
     $this->add_css('jquery-bxslider');
     $this->add_css('font-awesome');
     $this->add_js('jquery-bxslider');
 }
开发者ID:spokencode,项目名称:bophillips,代码行数:10,代码来源:testimonials.php


示例4: __construct

 public function __construct()
 {
     parent::__construct(array('name' => __('Blocks to Accordion', 'fl-builder'), 'description' => __('Blocks that turn to accordions for mobile', 'fl-builder'), 'category' => __('Advanced Modules', 'fl-builder'), 'dir' => plugin_dir_path(__FILE__), 'url' => plugins_url('/', __FILE__)));
     // Already registered
     $this->add_js('jquery-ui-accordion');
     // Register
     $this->add_js('ssm', $this->url . 'js/ssm.min.js', array(), '', true);
 }
开发者ID:ZestSMS,项目名称:zestsms-bta,代码行数:8,代码来源:block-to-accordion.php


示例5: __construct

 /**
  * @method __construct
  */
 public function __construct()
 {
     parent::__construct(array('name' => __('Gallery', 'fl-builder'), 'description' => __('Display multiple photos in a gallery view.', 'fl-builder'), 'category' => __('Advanced Modules', 'fl-builder'), 'editor_export' => false, 'partial_refresh' => true));
     $this->add_js('jquery-wookmark');
     $this->add_js('jquery-mosaicflow');
     $this->add_js('jquery-magnificpopup');
     $this->add_css('jquery-magnificpopup');
 }
开发者ID:onedaylabs,项目名称:onedaylabs.com,代码行数:11,代码来源:gallery.php


示例6: __construct

 /**
  * Constructor function for the module. You must pass the
  * name, description, dir, url and enabled in an array to the parent class.
  *
  * @method __construct
  */
 public function __construct()
 {
     parent::__construct(array('name' => __('Map', 'fl-builder'), 'description' => __('Google Map', 'fl-builder'), 'category' => __('Advanced Modules', 'fl-builder'), 'dir' => TESSERACT_BB_MODULE_DIR . 'map/', 'url' => TESSERACT_BB_MODULE_URL . 'map/', 'enabled' => true));
     if (!defined('GOOGLE_MAPS_API_KEY')) {
         define('GOOGLE_MAPS_API_KEY', 'AIzaSyDdg6IMS4WeWJRORd0wU_gcE-kFOUKt4zE');
     }
     $this->add_js('google-maps-javascript-api', 'https://maps.googleapis.com/maps/api/js?key=' . GOOGLE_MAPS_API_KEY, array('jquery'), '3.0', true);
 }
开发者ID:Nirajjcu,项目名称:minime3d,代码行数:14,代码来源:map-module.php


示例7: __construct

 public function __construct($args)
 {
     parent::__construct($args);
     $this->accent_color = $args['accent_color'];
     self::register_workspace_module($args);
     $this->add_css('brj-theme-elements-shared');
     add_action('wp', array($this, 'set_enabled'));
     add_filter('brj-workspace/filter-module-fields', 'BRJ_WorkspaceModule::filter_module_form', 10, 2);
 }
开发者ID:brentjett,项目名称:brj-workspaces,代码行数:9,代码来源:class-brj-workspace-module.php


示例8: __construct

 /**
  * Constructor function for the module. You must pass the
  * name, description, dir and url in an array to the parent class.
  *
  * @method __construct
  */
 public function __construct()
 {
     parent::__construct(array('name' => __('Simple Posts', 'fl-simple-posts'), 'description' => __('A plugin to list posts with a certain template.', 'fl-simple-posts'), 'category' => __('Advanced Modules', 'fl-simple-posts'), 'dir' => FL_SIMPLE_POSTS_DIR . 'simple-posts/', 'url' => FL_SIMPLE_POSTS_URL . 'simple-posts/', 'editor_export' => true, 'enabled' => true, 'partial_refresh' => true));
     /**
      * Use these methods to enqueue css and js already
      * registered or to register and enqueue your own.
      */
     $this->add_js('masonry', $this->url . 'js/masonry.min.js', array(), '', true);
 }
开发者ID:marthings,项目名称:fl-simple-posts,代码行数:15,代码来源:simple-posts.php


示例9: __construct

 public function __construct()
 {
     parent::__construct(array('name' => __('Frequently Asked Questions', 'fl-builder'), 'description' => __('Add your FAQs to any page or post!', 'fl-builder'), 'category' => __('Advanced Modules', 'fl-builder'), 'dir' => plugin_dir_path(__FILE__), 'url' => plugins_url('/', __FILE__), 'editor_export' => TRUE, 'enabled' => true));
     /**
      * This was left in to serve as a reminder. Beaver Builder automatically enqueues
      * the /js/frontend.js and css/frontend.css files, so there is no reason to add this at all.
      */
     #$this->add_css( 'faq-module', $this->url . 'css/frontend.css' );
     #$this->add_js( 'faq-module', $this->url .'js/frontend.js', array( 'jquery' ), '', TRUE );
 }
开发者ID:palmermarc,项目名称:twenty-sixty-builder-addons,代码行数:10,代码来源:faq-module.php


示例10: __construct

 /**
  * @method __construct
  */
 public function __construct()
 {
     parent::__construct(array('name' => __('Heading', 'fl-builder'), 'description' => __('Display a title/page heading.', 'fl-builder'), 'category' => __('Basic Modules', 'fl-builder'), 'partial_refresh' => true));
 }
开发者ID:onedaylabs,项目名称:onedaylabs.com,代码行数:7,代码来源:heading.php


示例11: __construct

 /** 
  * @method __construct
  */
 public function __construct()
 {
     parent::__construct(array('name' => __('Widget', 'fl-builder'), 'description' => __('Display a WordPress widget.', 'fl-builder'), 'category' => __('WordPress Widgets', 'fl-builder'), 'editor_export' => false));
 }
开发者ID:meftasadat,项目名称:DSL_SITE,代码行数:7,代码来源:widget.php


示例12: __construct

 /**
  * @method __construct
  */
 public function __construct()
 {
     parent::__construct(array('name' => __('Video', 'fl-builder'), 'description' => __('Render a WordPress or embedable video.', 'fl-builder'), 'category' => __('Basic Modules', 'fl-builder'), 'partial_refresh' => true));
     $this->add_js('jquery-fitvids');
 }
开发者ID:nullality,项目名称:FEWD-SEA-7,代码行数:8,代码来源:video.php


示例13: __construct

 /**
  * @method __construct
  */
 public function __construct()
 {
     parent::__construct(array('name' => __('Pricing Table', 'fl-builder'), 'description' => __('A simple pricing table generator.', 'fl-builder'), 'category' => __('Advanced Modules', 'fl-builder')));
 }
开发者ID:spokencode,项目名称:bophillips,代码行数:7,代码来源:pricing-table.php


示例14: __construct

 /**
  * @method __construct
  */
 public function __construct()
 {
     parent::__construct(array('name' => __('Posts Slider', 'fl-builder'), 'description' => __('Display a slider of your WordPress posts.', 'fl-builder'), 'category' => __('Advanced Modules', 'fl-builder'), 'editor_export' => false, 'partial_refresh' => true));
     $this->add_css('jquery-bxslider');
     $this->add_js('jquery-bxslider');
 }
开发者ID:onedaylabs,项目名称:onedaylabs.com,代码行数:9,代码来源:post-slider.php


示例15: __construct

 /** 
  * Constructor function for the module. You must pass the
  * name, description, dir and url in an array to the parent class.
  *
  * @method __construct
  */
 public function __construct()
 {
     parent::__construct(array('name' => __('Shade', 'fl-builder'), 'description' => __('Throw some custom shade.', 'fl-builder'), 'category' => __('CB Custom Modules', 'fl-builder'), 'dir' => CB_CUSTOM_MODULE_DIR . 'cb-shade/', 'url' => CB_CUSTOM_MODULE_URL . 'cb-shade/', 'editor_export' => true, 'enabled' => true, 'partial_refresh' => true));
 }
开发者ID:bacoords,项目名称:cb-custom-modules,代码行数:10,代码来源:cb-shade.php


示例16: __construct

 /**
  * @method __construct
  */
 public function __construct()
 {
     parent::__construct(array('name' => __('Contact Form', 'fl-builder'), 'description' => __('A very simple contact form.', 'fl-builder'), 'category' => __('Advanced Modules', 'fl-builder'), 'editor_export' => false, 'partial_refresh' => true));
     add_action('wp_ajax_fl_builder_email', array($this, 'send_mail'));
     add_action('wp_ajax_nopriv_fl_builder_email', array($this, 'send_mail'));
 }
开发者ID:onedaylabs,项目名称:onedaylabs.com,代码行数:9,代码来源:contact-form.php


示例17: __construct

 /** 
  * @method __construct
  */
 public function __construct()
 {
     parent::__construct(array('name' => __('Sidebar', 'fl-builder'), 'description' => __('Display a WordPress sidebar that has been registered by the current theme.', 'fl-builder'), 'category' => __('Advanced Modules', 'fl-builder'), 'editor_export' => false, 'partial_refresh' => true));
 }
开发者ID:nullality,项目名称:FEWD-SEA-7,代码行数:7,代码来源:sidebar.php


示例18: __construct

 /** 
  * Constructor function for the module. You must pass the
  * name, description, dir and url in an array to the parent class.
  *
  * @method __construct
  */
 public function __construct()
 {
     parent::__construct(array('name' => __('Spotlight', 'fl-builder'), 'description' => __('Let your viewer spotlight an image.', 'fl-builder'), 'category' => __('CB Custom Modules', 'fl-builder'), 'dir' => CB_CUSTOM_MODULE_DIR . 'cb-spotlight/', 'url' => CB_CUSTOM_MODULE_URL . 'cb-spotlight/', 'editor_export' => true, 'enabled' => true));
 }
开发者ID:bacoords,项目名称:cb-custom-modules,代码行数:10,代码来源:cb-spotlight.php


示例19: __construct

 /**
  * @method __construct
  */
 public function __construct()
 {
     parent::__construct(array('name' => __('Separator', 'fl-builder'), 'description' => __('A divider line to separate content.', 'fl-builder'), 'category' => __('Basic Modules', 'fl-builder'), 'editor_export' => false, 'partial_refresh' => true));
 }
开发者ID:onedaylabs,项目名称:onedaylabs.com,代码行数:7,代码来源:separator.php


示例20: __construct

 /** 
  * @method __construct
  */
 public function __construct()
 {
     parent::__construct(array('name' => __('Menu', 'fl-builder'), 'description' => __('Renders a WordPress menu.', 'fl-builder'), 'category' => __('Advanced Modules', 'fl-builder')));
 }
开发者ID:spokencode,项目名称:bophillips,代码行数:7,代码来源:menu.php



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP FLEA类代码示例发布时间:2022-05-23
下一篇:
PHP FLBuilderModel类代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap