PHP Class BxDolProfile, dolphin.pro

Show file Open project: boonex/dolphin.pro Class Usage Examples

Public Properties

Property Type Description
$_aCouple
$_aProfile
$_iCoupleID
$_iProfileID
$bCouple

Public Methods

Method Description
__construct ( $vProfileID, $bWithEmail = 1 ) : User Constructor
getID ( $vID = false, $bWithEmail = 1 )
getMembershipStatus ( $iPrifileID, $offer_upgrade = true, $credits ) 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
getNickName ( ) *function getProfileLastOnlinePeriod( $lastNavTime ) {
getPassword ( )
getProfileData ( ) return assoc array of all frofile fields
getProfileImageUrl ( unknown_type $imageNum ) return link to profile image only.
getProfileThumbnail ( unknown_type $float ) Enter description here.
updateProfileData ( array $aData ) Update profile info to database
updateProfileDataFile ( integer $iProfileID ) function create cache data file

Method Details

__construct() public method

Constructor
public __construct ( $vProfileID, $bWithEmail = 1 ) : User
return User

getID() public method

public getID ( $vID = false, $bWithEmail = 1 )

getMembershipStatus() public method

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
public getMembershipStatus ( $iPrifileID, $offer_upgrade = true, $credits )

getNickName() public method

}
public getNickName ( )

getPassword() public method

public getPassword ( )

getProfileData() public method

return assoc array of all frofile fields
public getProfileData ( )

getProfileImageUrl() public method

return link to profile image only.
public getProfileImageUrl ( unknown_type $imageNum )
$imageNum unknown_type

getProfileThumbnail() public method

..
public getProfileThumbnail ( unknown_type $float )
$float unknown_type

updateProfileData() public method

Update profile info to database
public updateProfileData ( array $aData )
$aData array where the key of the array is name of database table field example: $aData['Sex'] = 'male';

updateProfileDataFile() public method

function create cache data file
public updateProfileDataFile ( integer $iProfileID )
$iProfileID integer

Property Details

$_aCouple public property

public $_aCouple

$_aProfile public property

public $_aProfile

$_iCoupleID public property

public $_iCoupleID

$_iProfileID public property

public $_iProfileID

$bCouple public property

public $bCouple