string
public function getId() {
if ($this->id === NULL) {
$parent = $this
->getParent();
if ($parent === NULL) {
$this->id = 'index';
}
else {
$parentId = $parent
->getId();
if ($parentId == 'index') {
$this->id = str_replace(':', '_', $this->name);
}
else {
$this->id = $parentId . '_' . $this->name;
}
}
}
return $this->id;
}