Properties

$locationIPDao

$locationIPDao : 

Type

$locationGeoCitiesDao

$locationGeoCitiesDao : 

Type

$userTrackingDao

$userTrackingDao : 

Type

$statsUsersGeolocationDao

$statsUsersGeolocationDao : 

Type

$locationGeoCountriesDao

$locationGeoCountriesDao : 

Type

$countriesDao

$countriesDao : 

Type

$userDao

$userDao : 

Type

$messageDao

$messageDao : 

Type

Methods

__construct()

__construct(\Groovel\Cmsgroovel\dao\LocationIPCitiesDaoInterface  $locationIPDao, \Groovel\Cmsgroovel\dao\LocationGeoCitiesDaoInterface  $locationGeoCitiesDao, \Groovel\Cmsgroovel\dao\UserTrackingDaoInterface  $userTrackingDao, \Groovel\Cmsgroovel\dao\StatsUsersGeolocationDaoInterface  $statsUsersGeolocationDao, \Groovel\Cmsgroovel\dao\CountryDaoInterface  $countriesDao, \Groovel\Cmsgroovel\dao\LocationGeoCountriesDaoInterface  $locationGeoCountriesDao, \Groovel\Cmsgroovel\dao\UserDaoInterface  $userDao, \Groovel\Cmsgroovel\dao\MessageDaoInterface  $messageDao) 

Parameters

\Groovel\Cmsgroovel\dao\LocationIPCitiesDaoInterface $locationIPDao
\Groovel\Cmsgroovel\dao\LocationGeoCitiesDaoInterface $locationGeoCitiesDao
\Groovel\Cmsgroovel\dao\UserTrackingDaoInterface $userTrackingDao
\Groovel\Cmsgroovel\dao\StatsUsersGeolocationDaoInterface $statsUsersGeolocationDao
\Groovel\Cmsgroovel\dao\CountryDaoInterface $countriesDao
\Groovel\Cmsgroovel\dao\LocationGeoCountriesDaoInterface $locationGeoCountriesDao
\Groovel\Cmsgroovel\dao\UserDaoInterface $userDao
\Groovel\Cmsgroovel\dao\MessageDaoInterface $messageDao

getTotalUsers()

getTotalUsers() 

getTotalUsersConnectedByDays()

getTotalUsersConnectedByDays() 

getTotalMessage()

getTotalMessage() 

saveTrackingUserInfo()

saveTrackingUserInfo(  $hostname,   $ip,   $agent,   $ref) 

Parameters

$hostname
$ip
$agent
$ref

getUserLocationFromIP()

getUserLocationFromIP(  $ip) 

Parameters

$ip

getLatitudeLongitude()

getLatitudeLongitude(  $country,   $city) 

Parameters

$country
$city

saveStatsUsers()

saveStatsUsers(  $country,   $countryCodeIso,   $city,   $countPeople,   $latitude,   $longitude) 

Parameters

$country
$countryCodeIso
$city
$countPeople
$latitude
$longitude

updateStatsUsers()

updateStatsUsers(  $country,   $countryCodeIso,   $city,   $latitude,   $longitude) 

Parameters

$country
$countryCodeIso
$city
$latitude
$longitude

getAllStatsUsers()

getAllStatsUsers() 

getTotalUsersByDay()

getTotalUsersByDay()