" . htmlspecialchars($servers[$server_id]['name']) . ".

" .$lang['reasons_for_error'] ."".$lang['please_report_this_as_a_bug'].""; ?>


'.$lang['objectclasses'].'' ); ?> | '. $lang['attributes'].'' ); ?> | '.$lang['syntaxes'].'' ); ?> | '.$lang['matchingrules'].'' ); ?>

" . $lang['the_following_syntaxes'] . "
\n\n"; echo "\n\n\n"; echo "\n"; flush(); $counter=1; $schema_syntaxes = get_schema_syntaxes( $server_id ); if( ! $schema_syntaxes ) pla_error( $schema_error_str ); foreach( $schema_syntaxes as $syntax ) { $counter++; $oid = htmlspecialchars( $syntax->getOID() ); $desc = htmlspecialchars( $syntax->getDescription() ); if( $highlight_oid && $highlight_oid == $oid ) echo ""; else echo ""; echo "\n\n"; } echo "
" . $lang['syntax_oid'] . "" . $lang['desc'] . "
$oid$desc
\n"; } elseif( $view == 'attributes' ) { //echo "
" . $lang['the_following_attributes'] . "

\n"; flush(); $schema_attrs = get_schema_attributes( $server_id ); $schema_object_classes = get_schema_objectclasses( $server_id ); if( ! $schema_attrs || ! $schema_object_classes ) pla_error( $schema_error_str ); // do a reverse-mapping to add in which objectClasses each attributeType is used foreach( $schema_object_classes as $object_class ) { $must_attrs = $object_class->getMustAttrNames($schema_object_classes); $may_attrs = $object_class->getMayAttrNames($schema_object_classes); $oclass_attrs = array_unique( array_merge( $must_attrs, $may_attrs ) ); foreach( $oclass_attrs as $attr_name ) { if( isset( $schema_attrs[ strtolower( $attr_name ) ] ) ) { $schema_attrs[ strtolower( $attr_name ) ]->addUsedInObjectClass( $object_class->getName() ); } else { //echo "Warning, attr not set: $attr_name
"; } } } //echo "
";
	//print_r( $schema_attrs );
	//echo "
"; ?> :

getName())){ 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 "
getName() ) . "\">"; echo $attr->getName() . "
".$lang['desc']."" . ( $attr->getDescription() == null ? '('.$lang['no_description'].')' : $attr->getDescription() ). "
".$lang['oid']."" . $attr->getOID() . "
'.$lang['obsolete']."?" . ( $attr->getIsObsolete() ? '' . $lang['yes'] . '' : $lang['no'] ) . "
".$lang['inherits'].""; if( $attr->getSupAttribute()==null ) echo '('.$lang['none'].')'; else echo "getSupAttribute() ) . "\">" . $attr->getSupAttribute() . "
".$lang['equality']."" . ( $attr->getEquality() == null ? '('.$lang['not_specified'].')' : "getEquality()."\">".$attr->getEquality() ) . "
".$lang['ordering']."" . ( $attr->getOrdering()==null? '('.$lang['not_specified'].')' : $attr->getOrdering() ) . "
".$lang['substring_rule']."" . ( $attr->getSubstr()==null? '('.$lang['not_specified'].')' : $attr->getSubstr() ) . "
".$lang['syntax'].""; if( null != $attr->getType() ) { echo "getSyntaxOID() . "#" . $attr->getSyntaxOID(); echo "\">" . $attr->getType() . " (" . $attr->getSyntaxOID() . ")"; } else { echo $attr->getSyntaxOID(); } echo "
".$lang['single_valued']."" . ( $attr->getIsSingleValue() ? $lang['yes'] : $lang['no'] ) . "
".$lang['collective']."?" . ( $attr->getIsCollective() ? $lang['yes'] : $lang['no'] ) . "
".$lang['user_modification']."" . ( $attr->getIsNoUserModification() ? $lang['no'] : $lang['yes'] ) . "
".$lang['usage']."" . ( $attr->getUsage() ? $attr->getUsage() : '('.$lang['not_specified'].')' ) . "
".$lang['maximum_length'].""; if ( $attr->getMaxLength() === null ) { echo '('.$lang['not_applicable'].')';} else { echo number_format( $attr->getMaxLength() ) ." "; if ( $attr->getMaxLength()>1) {echo $lang['characters'];} else { echo $lang['character'] ;} } echo "
".$lang['aliases'].""; if( count( $attr->getAliases() ) == 0 ) echo '('.$lang['none'].')'; else foreach( $attr->getAliases() as $alias_attr_name ) echo "$alias_attr_name "; echo "
".$lang['used_by_objectclasses'].""; if( count( $attr->getUsedInObjectClasses() ) == 0 ) echo '('.$lang['none'].')'; else foreach( $attr->getUsedInObjectClasses() as $used_in_oclass) echo "$used_in_oclass "; echo "
\n"; } elseif( $view == 'matching_rules' ) { //echo "
" . $lang['the_following_matching'] . "

\n\n"; $schema_matching_rules = get_schema_matching_rules( $server_id ); echo $lang['jump_to_matching_rule']."
"; echo '
'; echo ''; echo ''; echo ''; echo ''; echo '
'; echo "\n\n\n"; echo "\n"; flush(); $counter=1; $schema_matching_rules = get_schema_matching_rules( $server_id ); if( ! $schema_matching_rules ) pla_error( $schema_error_str ); foreach( $schema_matching_rules as $rule ) { $counter++; $oid = htmlspecialchars( $rule->getOID() ); $desc = htmlspecialchars( $rule->getName() ); if ( $viewvalue==null || $viewvalue==($rule->getName() )) { if( null != $rule->getDescription() ) $desc .= ' (' . $rule->getDescription() . ')'; if( true === $rule->getIsObsolete() ) $desc .= ' ' . $lang['obsolete'] . ''; echo ""; echo ""; echo ""; echo "\n"; } } echo "
" . $lang['matching_rule_oid'] . "" . $lang['name'] . "".$lang['used_by_attributes']."
$oid$desc"; if( count( $rule->getUsedByAttrs() ) == 0 ) { echo "
(" . $lang['none'] . ")


\n"; } else { echo "
"; echo ""; echo ""; echo "
\n"; } echo "
\n"; } elseif( $view == 'objectClasses' ) { //echo "
" . $lang['the_following_objectclasses'] . "

\n"; flush(); $schema_oclasses = get_schema_objectclasses( $server_id ); if( ! $schema_oclasses ) pla_error( $schema_error_str ); ?> :
$oclass ) { foreach( $oclass->getSupClasses() as $parent_name ) { $parent_name = strtolower( $parent_name ); if( isset( $schema_oclasses[ $parent_name ] ) ) { $schema_oclasses[ $parent_name ]->addChildObjectClass( $oclass->getName() ); } } } ?>
$oclass ) { if ( $viewvalue==null || $viewvalue==$oclass->getName()){ ?>

getName(); ?>

: getOID(); ?>

getDescription() ) { ?>

: getDescription(); ?>

: getType(); ?>

getIsObsolete() == true ) { ?>

: getSupClasses() ) == 0 ) echo "(" . $lang['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 "(" . $lang['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 ' getMayAttrs($schema_oclasses) ) > 0 ) { echo '