This class represents a component (composante) in PMDLe A component is a child of a componentTree node or another component node
| author | bruno |
|---|---|
| package | personalization |
| subpackage | ksources |
addValue(string $v, string $d)
stringthe value to add for ;-)
stringthe date of the value (key)
getDate(int $i) : string
intthe index to read
stringthe date evaluation at index i in valuegetName() : string
stringthe value of namegetSubComponents() : \(Component[] | \null)
\(Component[]\null)
getValue(string $d) : string | null
stringthe date of the evaluation (key)
stringnullthe value of value or null if wrong date ;-)getValueFromPath(string $path, string $d) : \(string | \null)
.. if $path is empty, returns the getValue($d) return value
| todo | faire des exceptions |
|---|
stringpath to a value in the component tree or empty to points the value of this component
stringthe date for the value. If not given, return the last evaluation value
\(string\null)the value corresponding to the path or null if invalid path, date or valuegetValues() : array | null
arraynullthe value arraysetName(string $n)
stringthe value for name
$name : string
$subComponent : \Component[]
$value : string[]