phpUserTrack
[ class tree: phpUserTrack ] [ index: phpUserTrack ] [ all elements ]

Class: phpusertrack_ip

Source Location: /lib/libip.php

Class Overview

phpusertrack_db
   |
   --phpusertrack_ip

Data abstraction layer class.


Variables

Methods


Inherited Methods

Class: phpusertrack_db

phpusertrack_db::phpusertrack_db()
Class constructor
phpusertrack_db::_connect()
Initiate a connection to the database
phpusertrack_db::_insert()
Insert data into the database
phpusertrack_db::_query()
Preform a database query

Class Details

[line 11]
Data abstraction layer class.



[ Top ]


Class Variables

$_ip =  null

[line 22]

IP Address


Type:   string


[ Top ]

$_profileId =  null

[line 16]

Profile index


Type:   integer


[ Top ]

$_sessId =  null

[line 28]

Session identification string


Type:   string


[ Top ]



Class Methods


constructor phpusertrack_ip [line 35]

boolean phpusertrack_ip( [string $ip = null])

Class contructor



Tags:

return:  Success of object creation


Parameters:

string   $ip   The IP address of requesting user

[ Top ]

method getIp [line 72]

string getIp( )

Return IP address



Tags:

return:  IP address


[ Top ]

method getProfileId [line 64]

integer getProfileId( )

Return the profile index number



Tags:

return:  Profile index number


[ Top ]

method getSessId [line 80]

string getSessId( )

Return session identification string



Tags:

return:  Session identification string


[ Top ]

method insertProfile [line 99]

void insertProfile( string $browser, $browser_version, string $platform, string $browser_verion)

Insert new profile into the database



Parameters:

string   $browser   Browser name user is using
string   $browser_verion   Browser verison user is using
string   $platform   Operating System
   $browser_version  

[ Top ]

method lookupIdFromSession [line 50]

integer lookupIdFromSession( )

Find that users profile index from their session identification string



Tags:

return:  Profile index


[ Top ]

method setIp [line 88]

void setIp( string $ip)

Set classes IP address



Parameters:

string   $ip   IP Address to set the class to

[ Top ]


Documentation generated on Tue, 06 Nov 2007 09:22:03 -0800 by phpDocumentor 1.4.0a2