Matthias Andreas Benkard | 7b2a3a1 | 2021-08-16 10:57:25 +0200 | [diff] [blame^] | 1 | <?php |
2 | |||||
3 | namespace LdapRecord\Models\OpenLDAP; | ||||
4 | |||||
5 | class OrganizationalUnit extends Entry | ||||
6 | { | ||||
7 | /** | ||||
8 | * The object classes of the LDAP model. | ||||
9 | * | ||||
10 | * @var array | ||||
11 | */ | ||||
12 | public static $objectClasses = [ | ||||
13 | 'top', | ||||
14 | 'organizationalunit', | ||||
15 | ]; | ||||
16 | |||||
17 | /** | ||||
18 | * Get the creatable RDN attribute name. | ||||
19 | * | ||||
20 | * @return string | ||||
21 | */ | ||||
22 | public function getCreatableRdnAttribute() | ||||
23 | { | ||||
24 | return 'ou'; | ||||
25 | } | ||||
26 | } |