本文整理匯總了PHP中parent::minify方法的典型用法代碼示例。如果您正苦於以下問題:PHP parent::minify方法的具體用法?PHP parent::minify怎麽用?PHP parent::minify使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類parent
的用法示例。
在下文中一共展示了parent::minify方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: dirname
function __construct($plugin_base)
{
if (defined("WP_DEBUG") && WP_DEBUG) {
parent::$minify = "";
}
parent::$basePlugin =& $this;
parent::$plugin_base = $plugin_base;
parent::$base = $plugin_base . '/class';
parent::$base_lang = $plugin_base . '/lang';
parent::$base_url = plugins_url('', dirname(__FILE__));
$this->defaults = array("plugins" => array(), "mail_update" => true);
parent::$options = $this->initOptions();
$wp_upload = wp_upload_dir()["basedir"];
$this->plugin_dir = $wp_upload . "/ithoughts_plugins_statizer";
add_shortcode('update_scores', array($this, 'updateShortcode'));
add_shortcode('plugins_stats', array($this, 'pluginStats'));
add_action('init', array(&$this, 'register_scripts_and_styles'));
add_action('ithoughts_plugins_statizer_cron_hourly', array(&$this, 'refresh_h'));
add_action('ithoughts_plugins_statizer_cron_daily', array(&$this, 'refresh_d'));
add_action('wp_enqueue_scripts', array(&$this, 'wp_enqueue_scripts'));
add_action('wp_ajax_ithoughts_plugins_statizer-get_chart_ajax', array(&$this, 'get_chart_ajax'));
add_action('wp_ajax_nopriv_ithoughts_plugins_statizer-get_chart_ajax', array(&$this, 'get_chart_ajax'));
add_action('plugins_loaded', array(&$this, 'localisation'));
add_action("wp_footer", array(&$this, "footer"));
add_filter("ithoughts_plugins_statizer-crunch_data", array($this, "crunch_datas"), 10, 5);
add_filter("ithoughts_plugins_statizer-format_base_chart", array($this, "format_base_chart"));
require_once parent::$base . '/ithoughts_plugins_statizer-widget.class.php';
add_action('widgets_init', array($this, 'widgets_init'));
}
開發者ID:iThoughts-Informatique,項目名稱:iThoughts-Plugins-Statizer,代碼行數:29,代碼來源:ithoughts_plugins_statizer.class.php