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

Class: ObjectClass_ObjectClassAttribute

Source Location: /templates/3rdParty/pla/lib/schema_functions.php

Class Overview


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


Variables

Methods



Class Details

[line 661]
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 663]



Tags:

access:  public

Type:   mixed


[ Top ]

$source =

[line 665]



Tags:

access:  public

Type:   mixed


[ Top ]



Class Methods


constructor __construct [line 673]

ObjectClass_ObjectClassAttribute __construct( string $name, string $source)

Creates a new ObjectClass_ObjectClassAttribute with specified name and source objectClass.



Tags:

access:  public


Parameters:

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

[ Top ]

method getName [line 682]

void getName( [ $lower = true])



Tags:

access:  public


Parameters:

   $lower  

[ Top ]

method getSource [line 690]

void getSource( )



Tags:

access:  public


[ Top ]


Documentation generated on Sun, 25 Mar 2012 19:35:57 +0200 by phpDocumentor 1.4.1