phpDocumentor sessions
[ class tree: sessions ] [ index: sessions ] [ all elements ]

Procedural File: _hitlog.funcs.php

Source Location: /qp_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 Quam Plures - http://quamplures.net/ See also https://launchpad.net/quam-plures.

Author:  N C Young (nathan@ncyoung.com).
Author:  blueyed: Daniel HAHLER.
Author:  fplanque: Francois PLANQUE.
Author:  vegarg: Vegar BERG GULDAL.
Copyright:  

(c)2003-2009 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/. }}

Copyright:  (c) 2009 - 2011 by the Quam Plures developers - http://quamplures.net/
Filesource:  Source Code for this file
Functions
refererList  [line 52]

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_req_URI  [line 303]

void stats_req_URI( )


[ 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 ]
stats_user_agent  [line 315]

void stats_user_agent( [boolean $translate = false]  )

stats_user_agent(-)

Parameters:
boolean   $translate: 


[ Top ]