Cheetah
All Classes Namespaces Files Functions Variables Pages
Public Member Functions | Public Attributes | List of all members
ChWsbProfile Class Reference
Inheritance diagram for ChWsbProfile:
ChBaseProfileGenerator ChTemplProfileGenerator ChWsbXMLRPCProfileView

Public Member Functions

 __construct ( $vProfileID, $bWithEmail=1)
 
 getProfileThumbnail ( $float)
 
 getProfileImageUrl ( $imageNum)
 
 getProfileData ()
 
 updateProfileData ( $aData)
 
 updateProfileDataFile ( $iProfileID)
 
 getMembershipStatus ( $iPrifileID, $offer_upgrade=true, $credits=0)
 
 getNickName ()
 
 getPassword ()
 
 getID ( $vID=false, $bWithEmail=1)
 

Public Attributes

 $_iProfileID
 
 $_aProfile
 
 $bCouple
 
 $_iCoupleID
 
 $_aCouple
 

Detailed Description

Definition at line 10 of file ChWsbProfile.php.

Constructor & Destructor Documentation

◆ __construct()

ChWsbProfile::__construct (   $vProfileID,
  $bWithEmail = 1 
)

Constructor

Returns
User

Reimplemented in ChWsbXMLRPCProfileView.

Definition at line 23 of file ChWsbProfile.php.

Member Function Documentation

◆ getID()

ChWsbProfile::getID (   $vID = false,
  $bWithEmail = 1 
)

Definition at line 151 of file ChWsbProfile.php.

◆ getMembershipStatus()

ChWsbProfile::getMembershipStatus (   $iPrifileID,
  $offer_upgrade = true,
  $credits = 0 
)

Print code for membership status $memberID - member ID $offer_upgrade - will this code be printed at [c]ontrol [p]anel $credits - will print credits status if $credits == 1

Definition at line 123 of file ChWsbProfile.php.

◆ getNickName()

ChWsbProfile::getNickName ( )

Shows how many days, hours, minutes member was onine last time

Parameters
$lastNavTime
Returns
int

Definition at line 140 of file ChWsbProfile.php.

◆ getPassword()

ChWsbProfile::getPassword ( )

Definition at line 146 of file ChWsbProfile.php.

◆ getProfileData()

ChWsbProfile::getProfileData ( )

return assoc array of all frofile fields

Definition at line 53 of file ChWsbProfile.php.

◆ getProfileImageUrl()

ChWsbProfile::getProfileImageUrl (   $imageNum)

return link to profile image only.

Parameters
unknown_type$ID
unknown_type$imageNum

Definition at line 45 of file ChWsbProfile.php.

◆ getProfileThumbnail()

ChWsbProfile::getProfileThumbnail (   $float)

Enter description here...

Parameters
unknown_type$ID
unknown_type$float

Definition at line 34 of file ChWsbProfile.php.

◆ updateProfileData()

ChWsbProfile::updateProfileData (   $aData)

Update profile info to database

Parameters
int$iUserID
array$aDatawhere the key of the array is name of database table field

example: $aData['Sex'] = 'male';

Definition at line 95 of file ChWsbProfile.php.

◆ updateProfileDataFile()

ChWsbProfile::updateProfileDataFile (   $iProfileID)

function create cache data file

Parameters
int$iProfileID

Definition at line 112 of file ChWsbProfile.php.

Member Data Documentation

◆ $_aCouple

ChWsbProfile::$_aCouple

Definition at line 16 of file ChWsbProfile.php.

◆ $_aProfile

ChWsbProfile::$_aProfile

Definition at line 13 of file ChWsbProfile.php.

◆ $_iCoupleID

ChWsbProfile::$_iCoupleID

Definition at line 15 of file ChWsbProfile.php.

◆ $_iProfileID

ChWsbProfile::$_iProfileID

Definition at line 12 of file ChWsbProfile.php.

◆ $bCouple

ChWsbProfile::$bCouple

Definition at line 14 of file ChWsbProfile.php.


The documentation for this class was generated from the following file: