XpressEngine Core
1.11.2
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Pages
addons
counter
counter.addon.php
Go to the documentation of this file.
1
<?php
2
/* Copyright (C) NAVER <http://www.navercorp.com> */
3
4
if
(!defined(
'__XE__'
))
5
exit();
6
12
// Execute if called_position is before_display_content
13
if
($called_position ==
'before_module_init'
&&
Context::get
(
'module'
) !=
'admin'
&&
Context::getResponseMethod
() ==
'HTML'
&&
Context::isInstalled
() && !
isCrawler
())
14
{
15
$oCounterController =
getController
(
'counter'
);
16
$oCounterController->counterExecute();
17
}
18
/* End of file counter.addon.php */
19
/* Location: ./addons/counter/counter.addon.php */
getController
getController($module_name)
Definition:
func.inc.php:90
Context\getResponseMethod
getResponseMethod()
Definition:
Context.class.php:1163
Context\get
get($key)
Definition:
Context.class.php:1973
isCrawler
isCrawler($agent=NULL)
Definition:
func.inc.php:1538
Context\isInstalled
isInstalled()
Definition:
Context.class.php:2623
Generated on Tue Dec 18 2018 17:04:25 for XpressEngine Core by
1.8.5