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

Class: User

Source Location: /user.php

Class Overview


User class - handles session info


Author(s):

  • Dumitru Postoronca

Methods



Class Details

[line 18]
User class - handles session info

User class - handles session info




Tags:

author:  Dumitru Postoronca
static:  


[ Top ]


Class Methods


method getID [line 43]

void getID( )

Returns the logged on user's ID or 0

Returns the logged on user's ID or 0




[ Top ]

method getUsername [line 55]

void getUsername( )

Returns the logged on user's name or 0

Returns the logged on user's name or 0




[ Top ]

method isLoggedOn [line 79]

boolean isLoggedOn( )

Checks if the user is logged on

Checks if the user is logged on




[ Top ]

method login [line 27]

void login( int $uid, string $username)

Logges on a user into the system

Logges on a user into the system




Parameters:

int   $uid   User id - The key in the users table.
string   $username   The username of the logged on user.

[ Top ]

method logout [line 67]

void logout( )

Logs out an user from the system

Logs out an user from the system




[ Top ]


Documentation generated on Fri, 16 Dec 2005 13:16:46 +0200 by phpDocumentor 1.3.0RC4