本文整理匯總了PHP中Redux_Tracking類的典型用法代碼示例。如果您正苦於以下問題:PHP Redux_Tracking類的具體用法?PHP Redux_Tracking怎麽用?PHP Redux_Tracking使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
在下文中一共展示了Redux_Tracking類的4個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: _tracking
public function _tracking()
{
include_once dirname(__FILE__) . '/inc/tracking.php';
$tracking = Redux_Tracking::get_instance();
$tracking->load($this);
}
示例2: _tracking
private function _tracking()
{
require_once dirname(__FILE__) . '/inc/tracking.php';
$tracking = Redux_Tracking::get_instance();
$tracking->load($this);
}
示例3: _tracking
private function _tracking()
{
if (file_exists(get_template_directory() . '/framework/theme-panel/ReduxCore/inc/tracking.php')) {
require_once get_template_directory() . '/framework/theme-panel/ReduxCore/inc/tracking.php';
$tracking = Redux_Tracking::get_instance();
$tracking->load($this);
}
}
示例4: get_instance
/**
* Creates or returns an instance of this class.
*
* @return Foo A single instance of this class.
*/
public static function get_instance()
{
if (null == self::$instance) {
self::$instance = new self();
}
return self::$instance;
}