Zikula: A Flexible Open Source Content Management System
home | forum | international support | contact us

Docs for page pnuserapi.php

Procedural File: pnuserapi.php

Source Location: /Referers/pnuserapi.php

Classes:



Page Details:

Zikula Application Framework



Tags:

version:  $Id: pnuserapi.php 24383 2008-06-12 14:15:02Z markwest $
copyright:  (c) 2002, Zikula Development Team
link:  http://www.zikula.org
license:  GNU/GPL








referers_userapi_collect [line 85]

void referers_userapi_collect( )

log the frequency of a referring url

This is a new referer function for Zikula Instead of logging each URL as its coming in, it logs the frequency of that URL. This function was written first by Michael Yarbrough [gte649i@prism.gatech.edu]. Bjorn Sodergren re-wrote it to what it is now and added more complete/descriptive comments.




Tags:

author:  Timothy Litwiller
author:  Bjorn Sodergren
author:  Michael Yarbrough
todo:  rewrite using DBUtil


[ Top ]



referers_userapi_countitems [line 180]

integer referers_userapi_countitems( )

Count the number of unique referers in the database



Tags:

return:  number of links in the database


[ Top ]



referers_userapi_getall [line 21]

array referers_userapi_getall( $args, int $args['startnum'], int $args['numitems'])

get all refering urls



Tags:

return:  array of items, or false on failure
author:  The Zikula development team


Parameters

int   $args['startnum']   (optional) first item to return
int   $args['numitems']   (optional) number if items to return
   $args  
[ Top ]



referers_userapi_sumitems [line 190]

integer referers_userapi_sumitems( )

Count the number of referers in the database



Tags:

return:  number of links in the database


[ Top ]


Packages:

Files:

Classes: