Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
lib
unicaen
ldap
Commits
c22e4724
Commit
c22e4724
authored
Feb 22, 2021
by
David Surville
Browse files
Ajout de l'attribut "unicaenMailPrincipal"
parent
7c63d41c
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGELOG.md
View file @
c22e4724
...
...
@@ -60,3 +60,8 @@ et "supannEtuTypeDiplome"
-------------------
-
Ajout de l'attribut "unicaenLeocarteCSN"
3.
1.11 (22/02/2021)
-------------------
-
Ajout de l'attribut "unicaenMailPrincipal"
src/UnicaenLdap/Entity/Base/People.php
View file @
c22e4724
...
...
@@ -158,6 +158,7 @@ class People extends Entity
'ucbnStructureRecherche'
,
'uidNumber'
,
'unicaenLeocarteCSN'
,
'unicaenMailPrincipal'
,
'unicaenMonEtupass'
,
'unicaenRefId'
,
'unicaenSecuriteCompte'
,
...
...
@@ -216,6 +217,7 @@ class People extends Entity
'ucbnSquidHash'
,
'uidNumber'
,
'unicaenLeocarteCSN'
,
'unicaenMailPrincipal'
,
'unicaenRefId'
,
'userPassword'
,
];
...
...
@@ -1585,6 +1587,24 @@ class People extends Entity
return
$this
;
}
/**
* Attribut Ldap "unicaenMailPrincipal"
*
* @param array|string|null $value
* @param bool $append
* @return self
* @throws Exception
* @throws LdapException
*/
public
function
setUnicaenMailPrincipal
(
$value
=
null
,
$append
=
false
)
{
$value
=
$this
->
preFormat
(
$value
);
$value
=
array_filter
(
filter_var_array
(
$value
,
FILTER_VALIDATE_EMAIL
));
$this
->
appendOrNot
(
'unicaenMailPrincipal'
,
$value
,
$append
);
return
$this
;
}
/**
* Attribut Ldap "unicaenRefId"
*
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment