For the schema browser, highlight structural object classes when showing attributes. Expose objectclass objects instead of names for objectclasses of a DN

This commit is contained in:
2025-01-19 22:01:20 +11:00
parent 05012c9e6c
commit 4dfebe9053
4 changed files with 29 additions and 18 deletions

View File

@@ -334,10 +334,10 @@ final class AttributeType extends Base {
*
* @param string $name The name of the objectClass to add.
*/
public function addUsedInObjectClass(string $name): void
public function addUsedInObjectClass(string $name,bool $structural): void
{
if (! $this->used_in_object_classes->contains($name))
$this->used_in_object_classes->push($name);
if (! $this->used_in_object_classes->has($name))
$this->used_in_object_classes->put($name,$structural);
}
/**