UNA
Loading...
Searching...
No Matches
iBxDolProfileService Interface Reference
Inheritance diagram for iBxDolProfileService:
BxBaseModProfileModule BxBaseServices BxBaseModGroupsModule BxPersonsModule BxTemplServices BxCnlModule BxCoursesModule BxEventsModule BxGroupsModule BxJobsModule BxOrgsModule BxSpacesModule

Public Member Functions

 serviceProfileUnit ($iContentId)
 
 serviceProfilePicture ($iContentId)
 
 serviceProfileAvatar ($iContentId)
 
 serviceProfileCover ($iContentId)
 
 serviceProfileThumb ($iContentId)
 
 serviceProfileIcon ($iContentId)
 
 serviceProfileName ($iContentId)
 
 serviceProfileUrl ($iContentId)
 
 serviceProfileEditUrl ($iContentId)
 
 serviceCheckAllowedProfileView ($iContentId)
 
 serviceCheckAllowedProfileContact ($iContentId)
 
 serviceCheckAllowedPostInProfile ($iContentId, $sPostModule='')
 
 serviceCheckAllowedModuleActionInProfile ($iContentId, $sModule, $sActionName)
 
 serviceGetParticipatingProfiles ($iProfileId, $aConnectionObject=false)
 
 serviceGetSpaceTitle ()
 
 serviceCheckSpacePrivacy ($iContentId)
 
 serviceProfilesSearch ($sTerm, $iLimit)
 
 serviceFormsHelper ()
 
 serviceActAsProfile ()
 
 servicePrepareFields ($aFieldsProfile)
 

Detailed Description

Profile services module interface, module class must implement basic profile services to be compliant with Profile interface

Member Function Documentation

◆ serviceActAsProfile()

iBxDolProfileService::serviceActAsProfile ( )

Implemented in BxBaseModGroupsModule, and BxOrgsModule.

◆ serviceCheckAllowedModuleActionInProfile()

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

Parameters
$iContentIdcontent ID
$sPostModuletype of content to be posted
Returns
message on error, or CHECK_ACTION_RESULT_ALLOWED when allowed

Implemented in BxBaseModProfileModule, and BxBaseServices.

◆ serviceCheckAllowedPostInProfile()

iBxDolProfileService::serviceCheckAllowedPostInProfile ( $iContentId,
$sPostModule = '' )

Check if posting of a certain type of content in profile is allowed, for example posting in profile's timeline

Parameters
$iContentIdcontent ID
$sPostModuletype of content to be posted
Returns
message on error, or CHECK_ACTION_RESULT_ALLOWED when allowed

Implemented in BxBaseModProfileModule, and BxBaseServices.

◆ serviceCheckAllowedProfileContact()

iBxDolProfileService::serviceCheckAllowedProfileContact ( $iContentId)

Check if profile can be contacted

Parameters
$iContentIdcontent ID
Returns
message on error, or CHECK_ACTION_RESULT_ALLOWED when allowed

Implemented in BxBaseModProfileModule, and BxBaseServices.

◆ serviceCheckAllowedProfileView()

iBxDolProfileService::serviceCheckAllowedProfileView ( $iContentId)

Check profile visibility

Parameters
$iContentIdcontent ID
Returns
message on error, or CHECK_ACTION_RESULT_ALLOWED when allowed

Implemented in BxBaseModProfileModule, and BxBaseServices.

◆ serviceCheckSpacePrivacy()

iBxDolProfileService::serviceCheckSpacePrivacy ( $iContentId)

Check space privacy, when some profile is used for privacy checking of some content

Parameters
$iContentIdcontent ID
Returns
message on error, or CHECK_ACTION_RESULT_ALLOWED when allowed

Implemented in BxBaseModProfileModule, and BxBaseServices.

◆ serviceGetParticipatingProfiles()

iBxDolProfileService::serviceGetParticipatingProfiles ( $iProfileId,
$aConnectionObject = false )

Get profiles, current profile have relation with, like friends, joined groups and events

Parameters
$iProfileIdprofile to get relations for
$aConnectionObjectlook for relations in these connection objects
Returns
array

Implemented in BxBaseModGroupsModule, BxBaseModProfileModule, BxBaseServices, and BxOrgsModule.

◆ serviceGetSpaceTitle()

iBxDolProfileService::serviceGetSpaceTitle ( )

Get space title

Returns
string

Implemented in BxBaseModGroupsModule, BxBaseModProfileModule, BxBaseServices, and BxOrgsModule.

◆ servicePrepareFields()

iBxDolProfileService::servicePrepareFields ( $aFieldsProfile)

◆ serviceProfileName()

iBxDolProfileService::serviceProfileName ( $iContentId)

Implemented in BxBaseModProfileModule.

◆ serviceProfileUrl()

iBxDolProfileService::serviceProfileUrl ( $iContentId)

Implemented in BxBaseModProfileModule.


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