b2evolution

Multilingual multiuser multiblog engine

b2evolution Technical Documentation (Version 1.10) [ class tree: evocore ] [ index: evocore ] [ all elements ]

Procedural File: _hitlog.funcs.php

Source Location: /blogs/inc/MODEL/sessions/_hitlog.funcs.php

Page Details

This file implements functions for logging of hits and extracting stats.

NOTE: the refererList() and stats_* functions are not fully functional ATM. I'll transform them into the Hitlog object during the next days. blueyed.

This file is part of the evoCore framework - http://evocore.net/ See also http://sourceforge.net/projects/evocms/.

Author:  N C Young (nathan@ncyoung.com).
Author:  fplanque: Francois PLANQUE.
Author:  blueyed: Daniel HAHLER.
Author:  vegarg: Vegar BERG GULDAL.
Version:  $Id: _hitlog.funcs.php,v 1.6.4.6.2.2 2007/08/04 23:23:48 blueyed Exp $
Copyright:  

(c)2003-2007 by Francois PLANQUE - http://fplanque.net/ Parts of this file are copyright (c)2004-2006 by Daniel HAHLER - http://thequod.de/contact.

{@. See also http://ncyoung.com/demo/referer/. }}

Filesource:  Source Code for this file
Functions
refererList  [line 68]

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

Information Tags:
Todo:  

Transform to make this a stub for $Hitlist

Extract stats


[ Top ]
stats_basedomain  [line 270]

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


[ Top ]
stats_blog_ID  [line 231]

void stats_blog_ID( )


[ Top ]
stats_blog_name  [line 241]

void stats_blog_name( )


[ Top ]
stats_hit_count  [line 205]

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


[ Top ]
stats_hit_ID  [line 165]

void stats_hit_ID( )


[ Top ]
stats_hit_percent  [line 218]

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


[ Top ]
stats_hit_remote_addr  [line 174]

void stats_hit_remote_addr( )


[ Top ]
stats_referer  [line 254]

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


[ Top ]
stats_req_URI  [line 334]

void stats_req_URI( )


[ Top ]
stats_search_keywords  [line 285]

void stats_search_keywords( $ref  )

Displays keywords used for search leading to this page

Parameters:
   $ref: 

Information Tags:
Todo:  link keyword param to search engine ()

[ Top ]
stats_time  [line 183]

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


[ Top ]
stats_total_hit_count  [line 195]

void stats_total_hit_count( )


[ Top ]
stats_user_agent  [line 346]

void stats_user_agent( [boolean $translate = false]  )

stats_user_agent(-)

Parameters:
boolean   $translate: 


[ Top ]


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