forked from joomla/super-powers
Update 2024-09-03 00:08:52
This commit is contained in:
parent
9ca083305b
commit
a62938ca20
@ -350,15 +350,14 @@ final class UsersSubform implements GuidInterface, SubformInterface
|
|||||||
$item[$indexKey] = 0;
|
$item[$indexKey] = 0;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 'user_id':
|
|
||||||
$item[$indexKey] = $this->setUserDetails($item);
|
|
||||||
break;
|
|
||||||
default:
|
default:
|
||||||
// No action for other keys if empty
|
// No action for other keys if empty
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
// set LINK
|
// set LINK
|
||||||
$item[$linkKey] = $linkValue;
|
$item[$linkKey] = $linkValue;
|
||||||
|
// create/update user
|
||||||
|
$item['user_id'] = $this->setUserDetails($item);
|
||||||
}
|
}
|
||||||
|
|
||||||
return array_values($items);
|
return array_values($items);
|
||||||
|
@ -321,15 +321,14 @@
|
|||||||
$item[$indexKey] = 0;
|
$item[$indexKey] = 0;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 'user_id':
|
|
||||||
$item[$indexKey] = $this->setUserDetails($item);
|
|
||||||
break;
|
|
||||||
default:
|
default:
|
||||||
// No action for other keys if empty
|
// No action for other keys if empty
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
// set LINK
|
// set LINK
|
||||||
$item[$linkKey] = $linkValue;
|
$item[$linkKey] = $linkValue;
|
||||||
|
// create/update user
|
||||||
|
$item['user_id'] = $this->setUserDetails($item);
|
||||||
}
|
}
|
||||||
|
|
||||||
return array_values($items);
|
return array_values($items);
|
||||||
|
@ -18,6 +18,8 @@ use Joomla\CMS\User\User;
|
|||||||
use Joomla\CMS\User\UserHelper as JoomlaUserHelper;
|
use Joomla\CMS\User\UserHelper as JoomlaUserHelper;
|
||||||
use Joomla\CMS\MVC\Model\BaseDatabaseModel;
|
use Joomla\CMS\MVC\Model\BaseDatabaseModel;
|
||||||
use VDM\Joomla\Utilities\Component\Helper as Component;
|
use VDM\Joomla\Utilities\Component\Helper as Component;
|
||||||
|
use VDM\Joomla\Utilities\ArrayHelper;
|
||||||
|
use VDM\Joomla\Utilities\StringHelper;
|
||||||
use VDM\Component\Componentbuilder\Administrator\Helper\ComponentbuilderHelper;
|
use VDM\Component\Componentbuilder\Administrator\Helper\ComponentbuilderHelper;
|
||||||
|
|
||||||
|
|
||||||
|
@ -4,14 +4,7 @@
|
|||||||
"extends": "",
|
"extends": "",
|
||||||
"guid": "7832a726-87b6-4e95-887e-7b725d3fab8f",
|
"guid": "7832a726-87b6-4e95-887e-7b725d3fab8f",
|
||||||
"implements": null,
|
"implements": null,
|
||||||
"load_selection": {
|
"load_selection": null,
|
||||||
"load_selection0": {
|
|
||||||
"load": "0a59c65c-9daf-4bc9-baf4-e063ff9e6a8a"
|
|
||||||
},
|
|
||||||
"load_selection1": {
|
|
||||||
"load": "1f28cb53-60d9-4db1-b517-3c7dc6b429ef"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"name": "UserHelper",
|
"name": "UserHelper",
|
||||||
"power_version": "1.0.0",
|
"power_version": "1.0.0",
|
||||||
"system_name": "Joomla.Utilities.UserHelper",
|
"system_name": "Joomla.Utilities.UserHelper",
|
||||||
@ -20,6 +13,14 @@
|
|||||||
"use_selection0": {
|
"use_selection0": {
|
||||||
"use": "640b5352-fb09-425f-a26e-cd44eda03f15",
|
"use": "640b5352-fb09-425f-a26e-cd44eda03f15",
|
||||||
"as": "Component"
|
"as": "Component"
|
||||||
|
},
|
||||||
|
"use_selection1": {
|
||||||
|
"use": "0a59c65c-9daf-4bc9-baf4-e063ff9e6a8a",
|
||||||
|
"as": "default"
|
||||||
|
},
|
||||||
|
"use_selection2": {
|
||||||
|
"use": "1f28cb53-60d9-4db1-b517-3c7dc6b429ef",
|
||||||
|
"as": "default"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"extendsinterfaces": null,
|
"extendsinterfaces": null,
|
||||||
|
Loading…
Reference in New Issue
Block a user