This class represents a Profile in PMDLe model It contains the data of the structure node in XML representation
| author | bruno |
|---|---|
| package | personalization |
| subpackage | ksources |
__construct(string $url, \SimpleXMLElement $xml)
stringthe url of the knowledge ressource
getAuthor() : string
stringthe value of authorgetCDate() : string
stringthe value of cdategetGraphCandidate() : \PedagogicalGraph[]
\PedagogicalGraph[]$g the candidates graph arraygetId() : int
intthe value of idgetMDate() : string
stringthe value of mdategetName() : string
stringthe value of namegetStone(string $n) : \Stone | null
stringn the name of the stone
\Stonenullthe first stone named $n or null if no such stonegetStudentFName() : string
stringthe value of studentFNamegetStudentName() : string
stringthe value of studentNamegetURL() : string
| inherited_from | \KSource::getURL() |
|---|---|
| inherited_from | \Profile::getURL() |
stringthe urlgetValueFromPath(string $path, string $d) : string | null
..
stringpath to a value in the component tree
stringthe date for the value. If not given, return the last evaluation value
\InvalidRessourcePathException |
|---|
stringnullthe value corresponding to the path or null if invalid pathmatchConstraint(string $c) : int
| see | \KSource::matchConstraint() |
|---|
stringthe constraint xpath string
inta completion code, if 0: no matches, 1: match, other: errorsetAuthor(string $a)
stringthe value for author
setCDate(string $cd)
stringthe value for cdate
setId(int $i)
inti the value for id
setMDate(string $md)
stringthe value for mdate
setName(string $n)
stringthe value for name
setStudentFName(string $sfn)
stringthe value for studentFName
setStudentName(string $sn)
stringthe value for studentName
$cdate : string
$id : int
$mdate : string
$name : string
$stones : \Stones[]
$studentFName : string
$studentName : string
$url : \url
| inherited_from | \KSource::$$url |
|---|---|
| inherited_from | \Profile::$$url |