Docs
Configuration
Apps
CODE
On this page
Architecture
How UNA 15 is put together — core, modules, Studio, the API, and the NEO and template frontends.
Android
iOS
Web
Core
Client
Version:
~15.0
Source
Copy Page
bx_srv('system', 'is_module_profile', $sModuleName)
bx_srv('system', 'is_module_context', $sModuleName)
bx_srv('system', 'is_module_content', $sModuleName)BxBaseModGeneralModule extends BxDolModule
BxBaseModGroupsModule extends BxBaseModProfileModule
BxBaseModNotificationsModule extends BxBaseModGeneralModule
BxBaseModProfileModule extends BxBaseModGeneralModule implements iBxDolContentInfoService, iBxDolProfileService
BxBaseModTextModule extends BxBaseModGeneralModule implements iBxDolContentInfoServicebx_srv('module', 'method', [...])public function serviceGetProfileInfo($iProfileId)
{
return $aProfileInfo;
}
$aProfileInfo = bx_srv('profiles', 'get_profile_info', [$iProfileId]);bx_alert('type', 'action', $objectId, $profileId)bx_alert('bx_posts', 'add', $iPostId, $iProfileId, [
'content' => $sContent,
'title' => $sTitle,
'module' => $this->_oConfig->getName()
]);{
"code": 0,
"message": "Success",
"data": {}
}Auto