Loading src/UnicaenLdap/Entity/Base/People.php +38 −0 Original line number Diff line number Diff line Loading @@ -90,6 +90,7 @@ class People extends Entity 'leoCode', 'loginShell', 'mail', 'mailForwardingAddress', 'mobile', 'ntPassword', 'pager', Loading @@ -105,6 +106,7 @@ class People extends Entity 'supannActivite', 'supannAffectation', 'supannAliasLogin', 'supannAutreMail', 'supannAutreTelephone', 'supannCivilite', 'supannCodeINE', Loading Loading @@ -604,6 +606,42 @@ class People extends Entity return $this; } /** * Attribut Ldap "supannAutreMail" * * @param array|string|null $value * @param bool $append * @return self * @throws Exception * @throws LdapException */ public function setSupannAutreMail($value = null, $append = false) { $value = $this->preFormat($value); $value = array_filter(filter_var_array($value, FILTER_VALIDATE_EMAIL)); $this->appendOrNot('supannAutreMail', $value, $append); return $this; } /** * Attribut Ldap "mailForwardingAddress" * * @param array|string|null $value * @param bool $append * @return self * @throws Exception * @throws LdapException */ public function setMailForwardingAddress($value = null, $append = false) { $value = $this->preFormat($value); $value = array_filter(filter_var_array($value, FILTER_VALIDATE_EMAIL)); $this->appendOrNot('mailForwardingAddress', $value, $append); return $this; } /** * Attribut Ldap "mobile" * Loading src/UnicaenLdap/Entity/People.php +1 −12 Original line number Diff line number Diff line Loading @@ -18,17 +18,6 @@ use Zend\Ldap\Dn; */ class People extends BasePeople { /** * Liste des rôles existants * * @var string[] */ public static $roles_list = [ 'DIRECTEUR' => 'D30', 'RESPONSABLE' => 'R00', 'RESP_ADMINISTRATIF' => 'R40', ]; /** * Détermine si l'individu est actif ou non * Loading Loading @@ -693,7 +682,7 @@ class People extends BasePeople } /** * Retourne le site d'un personne * Retourne le site d'une personne * * @return array|null */ Loading Loading
src/UnicaenLdap/Entity/Base/People.php +38 −0 Original line number Diff line number Diff line Loading @@ -90,6 +90,7 @@ class People extends Entity 'leoCode', 'loginShell', 'mail', 'mailForwardingAddress', 'mobile', 'ntPassword', 'pager', Loading @@ -105,6 +106,7 @@ class People extends Entity 'supannActivite', 'supannAffectation', 'supannAliasLogin', 'supannAutreMail', 'supannAutreTelephone', 'supannCivilite', 'supannCodeINE', Loading Loading @@ -604,6 +606,42 @@ class People extends Entity return $this; } /** * Attribut Ldap "supannAutreMail" * * @param array|string|null $value * @param bool $append * @return self * @throws Exception * @throws LdapException */ public function setSupannAutreMail($value = null, $append = false) { $value = $this->preFormat($value); $value = array_filter(filter_var_array($value, FILTER_VALIDATE_EMAIL)); $this->appendOrNot('supannAutreMail', $value, $append); return $this; } /** * Attribut Ldap "mailForwardingAddress" * * @param array|string|null $value * @param bool $append * @return self * @throws Exception * @throws LdapException */ public function setMailForwardingAddress($value = null, $append = false) { $value = $this->preFormat($value); $value = array_filter(filter_var_array($value, FILTER_VALIDATE_EMAIL)); $this->appendOrNot('mailForwardingAddress', $value, $append); return $this; } /** * Attribut Ldap "mobile" * Loading
src/UnicaenLdap/Entity/People.php +1 −12 Original line number Diff line number Diff line Loading @@ -18,17 +18,6 @@ use Zend\Ldap\Dn; */ class People extends BasePeople { /** * Liste des rôles existants * * @var string[] */ public static $roles_list = [ 'DIRECTEUR' => 'D30', 'RESPONSABLE' => 'R00', 'RESP_ADMINISTRATIF' => 'R40', ]; /** * Détermine si l'individu est actif ou non * Loading Loading @@ -693,7 +682,7 @@ class People extends BasePeople } /** * Retourne le site d'un personne * Retourne le site d'une personne * * @return array|null */ Loading