This class represents a stone (brique) in PMDLe A stone is a child of the structure node

author bruno
package personalization
subpackage ksources

 Methods

Constructor Basic behaviour

__construct() 

getter for componentTree

getComponentTree() : \ComponentTree

Returns

\ComponentTreethe componentTree

getter for name

getName() : string

Returns

stringthe value of name

This function resolves and return the value of the path Syntax: component(/component).

getValueFromPath(string $path, string $d) : \(string | \null)

..

todo faire des exceptions

Parameters

$path

string

path to a value in the component tree

$d

string

the date for the value. If not given, return the last evaluation value

Returns

\(string\null)the value corresponding to the path or null if invalid path

setter for componentTree

setComponentTree(\ComponentTree $ct) 

Parameters

$ct

\ComponentTree

the value for componentTree

setter for @link id

setId(int $i) 

Parameters

$i

int

the value for id

setter for name

setName(string $n) 

Parameters

$n

string

the value forname

 Properties

 

$comment : string
 

$componentTree : \ComponentTree
 

$extSoft : string
todo à vérifier
 

$id : string
 

$name : string
 

$scale_info : string
 

$text : string
todo je sais pas à quoi ça sert
 

$type : string