\addons\visitors\libraryVisitors

Summary

Methods
Properties
Constants
__construct()
save_log()
$config
$bot
$agent
$froms
$os
$source
$broswer
$catname
$catid
$url
No constants found
get_spider()
get_source()
get_os()
get_catname()
get_froms()
get_broswer()
delete()
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$config

$config

$bot

$bot

$agent

$agent

$froms

$froms

$os

$os

$source

$source

$broswer

$broswer

$catname

$catname

$catid

$catid

$url

$url

Methods

__construct()

__construct() : mixed

Returns

mixed —

save_log()

save_log() : void

保存数据

get_spider()

get_spider() : mixed|string

获取来源搜索器名称

Returns

mixed|string —

get_source()

get_source() : string

来源地址

Returns

string —

get_os()

get_os() : string

获取操作系统

Returns

string —

get_catname()

get_catname() : bool|string

获取栏目

Returns

bool|string —

get_froms()

get_froms() : void

获取归属地

get_broswer()

get_broswer() : string

获取浏览器

Returns

string —

delete()

delete() : void

删除一个月前日志,6点到7点之前才会执行