Class: UserData

Source Location: /CORE/system/classes/userdata/UserData.php

Class UserData

Class Overview

DO NOT USE THIS CLASS ANY LONGER, IT WILL BE REMOVED IN ONE OF THE NEXT VERSIONS!

Use PrincipalService instead:

  1.  $services ServiceFactory::get();
  2.  $p $services->getPrincipalService();
  3.  $attributes $p->getAttributes();

Located in /CORE/system/classes/userdata/UserData.php [line 46]



		
				Author(s):
		
  • Kevin Papst
API Tags:
Deprecated:  

Information Tags:
Version:  $Id: UserData.php,v 1.7 2007/12/27 21:40:06 kpapst Exp $
Copyright:  Copyright (C) 2002-2006 Kevin Papst
License:  GNU Public License

Methods

[ Top ]
Method Summary
UserData   UserData()   This initalizes the Object with the given User
void   getAttribute()  
void   getCity()  
void   getCityCode()  
void   getCompany()  
void   getCountry()  
void   getEmail()  
void   getExtension()  
void   getFax()  
void   getFirstName()  
void   getHomepage()  
void   getLastName()  
void   getMobile()  
void   getPhone()  
void   getStreet()  
int   getUserID()   Returns the User ID for that this Object was initalized
void   init()  

[ Top ]
Methods
Constructor UserData  [line 62]

  UserData UserData( int $userid  )

This initalizes the Object with the given User

Parameters:
int   $userid:  the User ID


[ Top ]
getAttribute  [line 152]

  void getAttribute( $name  )

Parameters:
   $name: 


[ Top ]
getCity  [line 137]

  void getCity( )



[ Top ]
getCityCode  [line 142]

  void getCityCode( )



[ Top ]
getCompany  [line 127]

  void getCompany( )



[ Top ]
getCountry  [line 147]

  void getCountry( )



[ Top ]
getEmail  [line 101]

  void getEmail( )



[ Top ]
getExtension  [line 76]

  void getExtension( $id  )

Parameters:
   $id: 


[ Top ]
getFax  [line 122]

  void getFax( )



[ Top ]
getFirstName  [line 91]

  void getFirstName( )



[ Top ]
getHomepage  [line 107]

  void getHomepage( )



[ Top ]
getLastName  [line 96]

  void getLastName( )



[ Top ]
getMobile  [line 117]

  void getMobile( )



[ Top ]
getPhone  [line 112]

  void getPhone( )



[ Top ]
getStreet  [line 132]

  void getStreet( )



[ Top ]
getUserID  [line 86]

  int getUserID( )

Returns the User ID for that this Object was initalized


API Tags:
Return:  the Users ID


[ Top ]
init  [line 68]

  void init( $id  )

Parameters:
   $id: 


[ Top ]