Home « Server software «
Documentation: agents/referrals.php
class Referrals - Referral processing
This script is a reference file of this system.
Licence: GNU Lesser General Public License
Auteurs:
- Bernard Paques bernard.paques@bigfoot.com
check_request() - Process one single HTTP request
function check_request()
- returns void
Voir aussi:
delete() - Delete one referer
function delete($referer)
- $referer - string the referer to delete
Voir aussi:
list_by_dates() - List most recent referrals
function list_by_dates($offset=0, $count=10)
- $offset=0 - int the offset from the start of the list; usually, 0 or 1
- $count=10 - int the number of items to display
Voir aussi:
list_by_domain() - List most popular domains
function list_by_domain($offset=0, $count=10)
- $offset=0 - int the offset from the start of the list; usually, 0 or 1
- $count=10 - int the number of items to display
Voir aussi:
list_by_hits_for_url() - List referrals for a given URL
function list_by_hits_for_url($url, $offset=0, $count=10)
- $url - string the referenced url
- $offset=0 - int the offset from the start of the list; usually, 0 or 1
- $count=10 - int the number of items to display
Voir aussi:
- index.php
- actions/index.php
- actions/view.php
- agents/index.php
- articles/index.php
- articles/view.php
- categories/index.php
- categories/view.php
- codes/index.php
- collections/index.php
- comments/index.php
- comments/view.php
- feeds/index.php
- files/index.php
- files/view.php
- images/index.php
- images/view.php
- letters/index.php
- links/index.php
- locations/index.php
- locations/view.php
- overlays/index.php
- scripts/index.php
- scripts/view.php
- sections/index.php
- sections/view.php
- servers/index.php
- servers/view.php
- services/index.php
- skins/index.php
- smileys/index.php
- tables/index.php
- tables/view.php
- users/index.php
- users/view.php
list_by_hits() - List most popular referrals
function list_by_hits($offset=0, $count=10)
- $offset=0 - int the offset from the start of the list; usually, 0 or 1
- $count=10 - int the number of items to display
list_by_keywords() - List most popular keywords
function list_by_keywords($offset=0, $count=10)
- $offset=0 - int the offset from the start of the list; usually, 0 or 1
- $count=10 - int the number of items to display
Voir aussi:
normalize() - Normalize an external reference
function normalize($link)
- $link - string the raw reference
- returns an array( normalized string, search keywords )
setup() - Create tables for referrals
function setup()
Voir aussi:
stat() - Get some statistics
function &stat()
- returns the number of rows in table
Voir aussi: