UNA
|
Public Member Functions | |
serviceCheckAllowedProfileView ($iContentId) | |
serviceCheckAllowedProfileContact ($iContentId) | |
serviceCheckAllowedPostInProfile ($iContentId, $sPostModule='') | |
serviceCheckAllowedModuleActionInProfile ($iContentId, $sModule, $sActionName) | |
serviceGetParticipatingProfiles ($iProfileId, $aConnectionObject=false) | |
serviceGetSpaceTitle () | |
serviceCheckSpacePrivacy ($iContentId) | |
Profile services module interface, module class must implement basic profile services to be compliant with Profile interface
iBxDolProfileService::serviceCheckAllowedModuleActionInProfile | ( | $iContentId, | |
$sModule, | |||
$sActionName | |||
) |
Check if a certain type of action in a content module in profile is allowed, for example deleting timeline's posts inside a context
$iContentId | content ID |
$sPostModule | type of content to be posted |
Implemented in BxBaseModProfileModule, and BxBaseServices.
iBxDolProfileService::serviceCheckAllowedPostInProfile | ( | $iContentId, | |
$sPostModule = '' |
|||
) |
Check if posting of a certain type of content in profile is allowed, for example posting in profile's timeline
$iContentId | content ID |
$sPostModule | type of content to be posted |
Implemented in BxBaseModProfileModule, and BxBaseServices.
iBxDolProfileService::serviceCheckAllowedProfileContact | ( | $iContentId | ) |
Check if profile can be contacted
$iContentId | content ID |
Implemented in BxBaseModProfileModule, and BxBaseServices.
iBxDolProfileService::serviceCheckAllowedProfileView | ( | $iContentId | ) |
Check profile visibility
$iContentId | content ID |
Implemented in BxBaseModProfileModule, and BxBaseServices.
iBxDolProfileService::serviceCheckSpacePrivacy | ( | $iContentId | ) |
Check space privacy, when some profile is used for privacy checking of some content
$iContentId | content ID |
Implemented in BxBaseModProfileModule, and BxBaseServices.
iBxDolProfileService::serviceGetParticipatingProfiles | ( | $iProfileId, | |
$aConnectionObject = false |
|||
) |
Get profiles, current profile have relation with, like friends, joined groups and events
$iProfileId | profile to get relations for |
$aConnectionObject | look for relations in these connection objects |
Implemented in BxBaseServices, BxBaseModProfileModule, BxBaseModGroupsModule, and BxOrgsModule.
iBxDolProfileService::serviceGetSpaceTitle | ( | ) |
Get space title
Implemented in BxBaseServices, BxBaseModProfileModule, BxBaseModGroupsModule, and BxOrgsModule.