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