b2evolution

Multilingual multiuser multiblog engine

b2evolution Technical Documentation (0.9.x) [ class tree: evocore ] [ index: evocore ] [ all elements ]

Procedural File: _functions_hitlogs.php

Source Location: /blogs/b2evocore/_functions_hitlogs.php

Page Details

Logging of hits, extraction of stats

b2evolution - http://b2evolution.net/ Released under GNU GPL License - http://b2evolution.net/about/license.html

Author:  This file built upon code by N C Young (nathan@ncyoung.com) (http://ncyoung.com/entry/57)
Copyright:  (c)2003-2005 by Francois PLANQUE - http://fplanque.net/
Filesource:  Source Code for this file
Functions
hit_change_type  [line 245]

void hit_change_type( int $hit_ID, string $type  )

Change type for a hit

Parameters:
int   $hit_ID:  ID to change
string   $type:  new type, must be valid ENUM for hit_ignore field


[ Top ]
hit_delete  [line 209]

void hit_delete( int $hit_ID  )

Delete a hit

Parameters:
int   $hit_ID:  ID to delete


[ Top ]
hit_prune  [line 226]

void hit_prune( int $date  )

Delete all hits from a certain date

Parameters:
int   $date:  unix timestamp to delete hits for


[ Top ]
log_hit  [line 35]

void log_hit( )

Log a hit on a blog page / rss feed



[ Top ]
refererList  [line 263]

void refererList( [ $howMany = 5], [ $visitURL = ''], [ $disp_blog = 0], [ $disp_uri = 0], [ $type = "'no'"], [ $groupby = ''], [ $blog_ID = ''], [ $get_total_hits = false], [ $get_user_agent = false]  )

Extract stats

Parameters:
   $howMany: 
   $visitURL: 
   $disp_blog: 
   $disp_uri: 
   $type: 
   $groupby: 
   $blog_ID: 
   $get_total_hits: 
   $get_user_agent: 


[ Top ]
stats_basedomain  [line 449]

void stats_basedomain( [ $disp = true]  )
Parameters:
   $disp: 


[ Top ]
stats_blog_ID  [line 412]

void stats_blog_ID( )


[ Top ]
stats_blog_name  [line 422]

void stats_blog_name( )


[ Top ]
stats_hit_count  [line 389]

void stats_hit_count( )


[ Top ]
stats_hit_ID  [line 349]

void stats_hit_ID( )


[ Top ]
stats_hit_percent  [line 399]

void stats_hit_percent( [ $decimals = 1], [ $dec_point = '.']  )
Parameters:
   $decimals: 
   $dec_point: 


[ Top ]
stats_hit_remote_addr  [line 358]

void stats_hit_remote_addr( )


[ Top ]
stats_referer  [line 433]

void stats_referer( [ $before = ''], [ $after = ''], [ $disp_ref = true]  )
Parameters:
   $before: 
   $after: 
   $disp_ref: 


[ Top ]
stats_req_URI  [line 503]

void stats_req_URI( )


[ Top ]
stats_search_keywords  [line 464]

void stats_search_keywords( )

stats_search_keywords(-)

Displays keywords used for search leading to this page



[ Top ]
stats_time  [line 367]

void stats_time( [ $format = '']  )
Parameters:
   $format: 


[ Top ]
stats_title  [line 542]

void stats_title( [string $prefix = ' '], [mixed $display = 'htmlbody']  )

Display "Statistics" title if these have been requested

Parameters:
string   $prefix:  Prefix to be displayed if something is going to be displayed
mixed   $display:  Output format, see format_to_output() or false to return value instead of displaying it

API Tags:
Deprecated:  Stats should not be made public (SPAM!!!)


[ Top ]
stats_total_hit_count  [line 379]

void stats_total_hit_count( )


[ Top ]
stats_user_agent  [line 515]

void stats_user_agent( [boolean $translate = false]  )

stats_user_agent(-)

Parameters:
boolean   $translate: 


[ Top ]


Documentation generated on Tue, 20 May 2008 01:54:54 +0200 by phpDocumentor 1.4.2