phpLDAPadmin
[ class tree: phpLDAPadmin ] [ index: phpLDAPadmin ] [ all elements ]

Class: ObjectClass_ObjectClassAttribute

Source Location: /lib/schema_functions.php

Class Overview


A simple class for representing AttributeTypes used only by the ObjectClass class.


Variables

Methods



Class Details

[line 563]
A simple class for representing AttributeTypes used only by the ObjectClass class.

Users should never instantiate this class. It represents an attribute internal to an ObjectClass. If PHP supported inner-classes and variable permissions, this would be interior to class ObjectClass and flagged private. The reason this class is used and not the "real" class AttributeType is because this class supports the notion of a "source" objectClass, meaning that it keeps track of which objectClass originally specified it. This class is therefore used by the class ObjectClass to determine inheritance.




[ Top ]


Class Variables

$name =

[line 565]


Type:   mixed


[ Top ]

$source =

[line 568]


Type:   mixed


[ Top ]



Class Methods


constructor ObjectClass_ObjectClassAttribute [line 576]

ObjectClass_ObjectClassAttribute ObjectClass_ObjectClassAttribute( string $name, string $source)

Creates a new ObjectClass_ObjectClassAttribute with specified name and source objectClass.



Parameters:

string   $name   the name of the new attribute.
string   $source   the name of the ObjectClass which specifies this attribute.

[ Top ]

method getName [line 584]

void getName( )



[ Top ]

method getSource [line 589]

void getSource( )



[ Top ]


Documentation generated on Sun, 30 Dec 2007 17:50:35 -0800 by phpDocumentor 1.3.1