PHP Класс BxDolProfile, dolphin.pro

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$_aCouple
$_aProfile
$_iCoupleID
$_iProfileID
$bCouple

Открытые методы

Метод Описание
__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

Описание методов

__construct() публичный Метод

Constructor
public __construct ( $vProfileID, $bWithEmail = 1 ) : User
Результат User

getID() публичный Метод

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

getMembershipStatus() публичный Метод

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 getNickName ( )

getPassword() публичный Метод

public getPassword ( )

getProfileData() публичный Метод

return assoc array of all frofile fields
public getProfileData ( )

getProfileImageUrl() публичный Метод

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

getProfileThumbnail() публичный Метод

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

updateProfileData() публичный Метод

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() публичный Метод

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

Описание свойств

$_aCouple публичное свойство

public $_aCouple

$_aProfile публичное свойство

public $_aProfile

$_iCoupleID публичное свойство

public $_iCoupleID

$_iProfileID публичное свойство

public $_iProfileID

$bCouple публичное свойство

public $bCouple