19declare(strict_types=1);
25use Psr\Http\Message\RequestInterface;
31 private readonly RequestInterface $request
40 $this->
lng->txt(
'profile'),
52 if (!is_array($config[
'profile'])) {
57 foreach ($config[
'profile'] as
$id) {
58 if ($field->getPostVar() ===
$id) {
59 $field->setChecked(
true);
72 return [
'profile' => array_reduce(
73 array_keys($this->request->getParsedBody()),
74 static function (array
$c, string $v): array {
75 if (str_starts_with($v,
'chk_')) {
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
getConfigFromForm(\ilPropertyFormGUI $form)
__construct(private readonly Language $lng, private readonly RequestInterface $request)
importConfigToForm(\ilPropertyFormGUI $form, array $config)
initConfigForm(\ilPropertyFormGUI $form, int $parent_ref_id)
validateForm(\ilPropertyFormGUI $form)
GUI class for personal profile.
return['delivery_method'=> 'php',]
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
if(!file_exists('../ilias.ini.php'))