b2evolution

Multilingual multiuser multiblog engine

b2evolution Technical Documentation (CVS HEAD) [ class tree: evocore ] [ index: evocore ] [ all elements ]

Procedural File: _hitlog.funcs.php

Source Location: /blogs/inc/sessions/model/_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.21 2010/02/08 17:53:55 efy-yury Exp $
Copyright:  

(c)2003-2010 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 53]

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 254]

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


[ Top ]
stats_blog_ID  [line 214]

void stats_blog_ID( )


[ Top ]
stats_blog_name  [line 224]

void stats_blog_name( )


[ Top ]
stats_hit_count  [line 188]

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


[ Top ]
stats_hit_ID  [line 148]

void stats_hit_ID( )


[ Top ]
stats_hit_percent  [line 201]

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


[ Top ]
stats_hit_remote_addr  [line 157]

void stats_hit_remote_addr( )


[ Top ]
stats_referer  [line 238]

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


[ Top ]
stats_search_keywords  [line 267]

void stats_search_keywords( $keyphrase, [ $length = 45]  )

Displays keywords used for search leading to this page

Parameters:
   $keyphrase: 
   $length: 


[ Top ]
stats_time  [line 166]

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


[ Top ]
stats_total_hit_count  [line 178]

void stats_total_hit_count( )


[ Top ]


Documentation generated on Sat, 06 Mar 2010 04:12:58 +0100 by phpDocumentor 1.4.2. This site is hosted and maintained by Daniel HAHLER (Contact).