24 if (!$this->mRoot->mContext->hasAttribute(
'module.profile.HasSetAssetManager')) {
26 $delegate->register(
'Module.profile.Event.GetAssetManager');
27 $delegate->add([&$this,
'getManager']);
28 $this->mRoot->mContext->setAttribute(
'module.profile.HasSetAssetManager',
true);
30 $file = XOOPS_MODULE_PATH.
'/profile/class/DelegateFunctions.class.php';
31 $this->mRoot->mDelegateManager->add(
'Legacy_Profile.SaveProfile',
'Profile_Delegate::saveProfile', $file);
32 $this->mRoot->mDelegateManager->add(
'Legacy_Profile.GetDefinition',
'Profile_Delegate::getDefinition', $file);
33 $this->mRoot->mDelegateManager->add(
'Legacy_Profile.GetProfile',
'Profile_Delegate::getProfile', $file);
34 $this->mRoot->mDelegateManager->add(
'Legacy_Profile.SetupActionForm',
'Profile_Delegate::setupActionForm', $file);
35 $this->mRoot->mDelegateManager->add(
'Legacy_Profile.LoadActionForm',
'Profile_Delegate::loadActionForm', $file);
36 $this->mRoot->mDelegateManager->add(
'Legacy.Event.UserDelete',
'Profile_AssetPreload::deleteProfile');
37 $this->mRoot->mDelegateManager->add(
'Legacy.Admin.Event.UserDelete',
'Profile_AssetPreload::deleteProfile');