This class describes a Descriptor for Pedagogical Ressource

author bruno
package personalization
subpackage ksources

 Methods

Create a new Descriptor instance with name $n and optional description $d

__construct(string $n, string $d) 

Parameters

$n

string

the value for name

$d

string

the value for description

Return the name of the Descriptor

__toString() 

getter for name

getName() : string

Returns

stringthe name

 Properties

 

$description : string
 

$name : string