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


PHP pb_backupbuddy::load_controller方法代码示例

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


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

示例1: widget

 /**
  *	\WP_Widget::widget() Override
  *
  *	Function is called when a widget is to be displayed. Use echo to display to page.
  *
  *	@param		$args		array		?
  *	@param		$instance	array		Associative array containing the options saved on the widget form.
  *	@return		null
  */
 function widget($args, $instance)
 {
     if ($instance['group'] != '' && isset(pb_backupbuddy::$options['groups'][$instance['group']])) {
         pb_backupbuddy::load_controller('_run_carousel');
         echo run_carousel($instance['group']);
     } else {
         echo '{Error #45455489. Unknown group in widget. Please verify your widget settings are up to date for this Carousel item.}';
     }
 }
开发者ID:Coop920,项目名称:Sterling-Wellness,代码行数:18,代码来源:myslug.php

示例2: widget

 /**
  *	\WP_Widget::widget() Override
  *
  *	Function is called when a widget is to be displayed. Use echo to display to page.
  *
  *	@param		$args		array		?
  *	@param		$instance	array		Associative array containing the options saved on the widget form.
  *	@return		null
  */
 function widget($args, $instance)
 {
     pb_backupbuddy::load_controller('_run_copious');
     echo run_copious($instance);
 }
开发者ID:verbazend,项目名称:AWFA,代码行数:14,代码来源:sample.php

示例3: dirname

// End class pluginbuddy.
if (defined('PB_STANDALONE') && PB_STANDALONE === true) {
    require_once 'standalone_preloader.php';
}
// ********** Load core classes **********
require_once dirname(__FILE__) . '/classes/core_controllers.php';
//require_once( dirname( __FILE__ ) . '/classes/ui.php' ); Now handled in self::_construct().
require_once dirname(__FILE__) . '/classes/form.php';
require_once dirname(__FILE__) . '/classes/settings.php';
// ********** Initialize PluginBuddy framework **********
if (!isset($pluginbuddy_init)) {
    $pluginbuddy_init = 'init.php';
    // default init file.
}
pb_backupbuddy::init($pluginbuddy_settings, $pluginbuddy_init);
unset($pluginbuddy_settings);
unset($pluginbuddy_init);
// ********** Load initialization files **********
require_once dirname(dirname(__FILE__)) . '/init_global.php';
if (is_admin()) {
    require_once dirname(dirname(__FILE__)) . '/init_admin.php';
} else {
    require_once dirname(dirname(__FILE__)) . '/init_public.php';
}
if (defined('PB_STANDALONE') && PB_STANDALONE === true) {
    pb_backupbuddy::load_controller('pages/default');
}
// Used for ManageWP support.
if (!is_admin() && function_exists('add_action')) {
    add_action('setup_theme', 'pb_backupbuddy::pb_filter_update');
}
开发者ID:jimlongo56,项目名称:bhouse,代码行数:31,代码来源:_pluginbuddy.php


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