' . _('Object classes').'' ); ?> | ' . _('Attribute types').'' ); ?> | ' . _('Syntaxes').'' ); ?> | ' . _('Matching rules').'' ); ?>

\n"; echo "" . _('Syntax OID') . "" . _('Description') . "\n"; flush(); $counter=1; $schema_syntaxes = get_schema_syntaxes(null); if( ! $schema_syntaxes ) StatusMessage("ERROR", _("Unable to retrieve schema!"), ""); foreach( $schema_syntaxes as $syntax ) { $counter++; $oid = htmlspecialchars( $syntax->getOID() ); $desc = htmlspecialchars( $syntax->getDescription() ); if( $highlight_oid && $highlight_oid == $oid ) echo ""; else echo ""; echo "$oid$desc\n\n"; } echo "\n"; } elseif( $view == 'attributes' ) { flush(); $schema_attrs = get_schema_attributes(null); $schema_object_classes = get_schema_objectclasses(null); if( ! $schema_attrs || ! $schema_object_classes ) StatusMessage("ERROR", _("Unable to retrieve schema!"), ""); ?> :

getName() ) ) { if( ! is_null( $viewvalue ) ) $viewed = true; flush(); echo "\n\n"; $counter = 0; echo "\n"; echo "\n"; echo "\n"; echo "\n\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n\n"; echo "\n"; echo '\n"; echo "\n"; echo "\n\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n\n"; echo "\n"; echo "\n"; echo ""; echo "\n\n"; echo "\n"; echo "\n"; echo ""; echo "\n\n"; flush(); } } echo "
" . $attr->getName() . "
"._('Description')."" . ( $attr->getDescription() === null ? '('._('No description').')' : $attr->getDescription() ). "
"._('OID')."" . $attr->getOID() . "
'._('Obsolete')."?" . ( $attr->getIsObsolete() ? '' . _('Yes') . '' : _('No') ) . "
"._('Inherits from').""; if( $attr->getSupAttribute() === null ) echo '('._('none').')'; else echo "getSupAttribute() ) . "\">" . $attr->getSupAttribute() . "
"._('Equality')."" . ( $attr->getEquality() === null ? '('._('not specified').')' : "getEquality()."\">".$attr->getEquality()."" ) . "
"._('Ordering')."" . ( $attr->getOrdering() === null? '('._('not specified').')' : $attr->getOrdering() ) . "
"._('Substring Rule')."" . ( $attr->getSubstr() === null? '('._('not specified').')' : $attr->getSubstr() ) . "
"._('Syntax').""; if( null !== $attr->getType() ) { echo "getSyntaxOID() . "#" . $attr->getSyntaxOID(); echo "\">" . $attr->getType() . " (" . $attr->getSyntaxOID() . ")"; } else { echo $attr->getSyntaxOID(); } echo "
"._('Single valued')."" . ( $attr->getIsSingleValue() ? _('Yes') : _('No') ) . "
"._('Collective')."?" . ( $attr->getIsCollective() ? _('Yes') : _('No') ) . "
"._('User modification')."" . ( $attr->getIsNoUserModification() ? _('No') : _('Yes') ) . "
"._('Usage')."" . ( $attr->getUsage() ? $attr->getUsage() : '('._('not specified').')' ) . "
"._('Maximum length').""; if ( $attr->getMaxLength() === null ) { echo '('._('not applicable').')';} else { echo number_format( $attr->getMaxLength() ) ." "; if ( $attr->getMaxLength()>1) {echo _('characters');} else { echo _('character') ;} } echo "
"._('Aliases').""; if( count( $attr->getAliases() ) == 0 ) echo '('._('none').')'; else foreach( $attr->getAliases() as $alias_attr_name ) echo "$alias_attr_name "; echo "
"._('Used by object classes').""; if( count( $attr->getUsedInObjectClasses() ) == 0 ) echo '('._('none').')'; else foreach( $attr->getUsedInObjectClasses() as $used_in_oclass) echo "$used_in_oclass "; echo "
\n"; } elseif( $view == 'matching_rules' ) { $schema_matching_rules = get_schema_matching_rules(null); echo '' . _('Jump to a matching rule').'
'; echo '
'; echo ''; echo ''; echo ''; echo '
'; echo "\n\n\n"; echo "\n"; flush(); $counter=1; $schema_matching_rules = get_schema_matching_rules(null); if( ! $schema_matching_rules ) StatusMessage("ERROR", _("Unable to retrieve schema!"), ""); foreach( $schema_matching_rules as $rule ) { $counter++; $oid = htmlspecialchars( $rule->getOID() ); $desc = htmlspecialchars( $rule->getName() ); if ( $viewvalue === null || $viewvalue==($rule->getName() )) { if( ! is_null( $viewvalue ) ) $viewed = true; if( null !== $rule->getDescription() ) $desc .= ' (' . $rule->getDescription() . ')'; if( true === $rule->getIsObsolete() ) $desc .= ' ' . _('Obsolete') . ''; echo ""; echo ""; echo ""; echo "\n"; } } echo "
" . _('Matching rule OID') . "" . _('Name') . ""._('Used by attributes')."
$oid$desc"; if( count( $rule->getUsedByAttrs() ) == 0 ) { echo "
(" . _('none') . ")


\n"; } else { echo "
"; echo ""; echo "
\n"; } echo "
\n"; } elseif( $view == 'objectClasses' ) { flush(); $schema_oclasses = get_schema_objectclasses(null); if( ! $schema_oclasses ) StatusMessage("ERROR", _("Unable to retrieve schema!"), ""); ?> :
$oclass ) { foreach( $oclass->getSupClasses() as $parent_name ) { $parent_name = $parent_name; if( isset( $schema_oclasses[ $parent_name ] ) ) { $schema_oclasses[ $parent_name ]->addChildObjectClass( $oclass->getName() ); } } } ?>
$oclass ) { if ( $viewvalue === null || 0 == strcasecmp( $viewvalue, $oclass->getName() ) ){ if( ! is_null( $viewvalue ) ) $viewed = true; ?>

getName(); ?>

: getOID(); ?>

getDescription() ) { ?>

: getDescription(); ?>

: getType(); ?>

getIsObsolete() === true ) { ?>

: getSupClasses() ) == 0 ) echo "(" . _('none') . ")"; else foreach( $oclass->getSupClasses() as $i => $object_class ) { echo '' . htmlspecialchars( $object_class ) . ''; if( $i < count( $oclass->getSupClasses() ) - 1 ) echo ', '; } ?>

: getName(), 'top' ) ) echo "(all)"; elseif( count( $oclass->getChildObjectClasses() ) == 0 ) echo "(" . _('none') . ")"; else foreach( $oclass->getChildObjectClasses() as $i => $object_class ) { echo '' . htmlspecialchars( $object_class ) . ''; if( $i < count( $oclass->getChildObjectClasses() ) - 1 ) echo ', '; } ?>

getMustAttrs($schema_oclasses) ) > 0 ) { echo '"; } else echo "
(" . _('none') . ")
\n"; ?>
getMayAttrs($schema_oclasses) ) > 0 ) { echo '"; } else echo "
(" . _('none') . ")
\n"; ?>