Class Counter_Controller
Counters.
- Core_Servant_Properties
- Counter_Controller
Copyright: © 2005-2021 ООО "Хостмэйк"(Hostmake LLC), http://www.hostcms.ru
Author: Hostmake LLC
Version: 6.x
Located at counter/controller.php
Methods summary
public
|
|
public static
object
|
|
public
|
#
showCounterCode( integer $counterId, string $alias_name, string $get_update_counter = '' )
Отображение кода счетчика |
public static
|
|
public
|
|
public
integer
|
#
ipIsNew( string $hexIp, string $sCurrentDate, integer $site_id )
Определение наличия записи за сегодняшний день для переданного IP адреса для переданного сайта |
public static
boolean
|
|
public static
mixed
|
#
isSearchSystem( string $str )
Определение запроса из поисковой системы. Метод работает с поисковыми системами: - Yandex - Google - Mail.Ru - Aport - Yahoo.com - Metabot - bing.com |
public static
string
|
|
public static
string
|
|
public static
0
|
|
public
integer
|
|
public
|
#
update( string $tableName, array $aValues )
Update row. If row does not exit, call insertOnUpdate() |
public
|
|
public
integer
|
#
getAllSession( integer $site_id )
Определение числа сессий для сайта за весь период подсчета статистики. |
public
mixed
|
#
getDayInformation( string $date )
Получение данных посещаемости за определенный день. Метод использует кэш "COUNTER_DAY_INFORMATION" |
public
boolean
|
|
public
string
|
#
alignTextSpace( integer $count_all, strlen $text )
Выравнивание текста по центру с помощью пробелов |
Methods inherited from Core_Servant_Properties
__call()
,
__get()
,
__isset()
,
__set()
,
__toString()
,
addAllowedProperties()
,
addAllowedProperty()
,
set()
,
setUnlimitedProperties()
Properties summary
protected
array
|
$_allowedProperties
Allowed object properties |
#
array(
'site',
'referrer',
'page',
'cookies',
'java',
'colorDepth',
'display',
'js',
'counterId',
'updateCounter',
'ip',
'userAgent',
'bBot',
'bNewUser',
'bNewSession',
'sessionId',
'siteuserId',
'cleaningFrequency',
'sessionLifeTime',
)
|
protected
array
|
$_config
Config value |
#
array()
|
public static
mixed
|
$instance
The singleton instances. |
#
NULL
|