kinds = $kinds; } public function getKind($id) { return new Kind($id, $this->kinds[$id]); } public function toArray() { return $this->kinds; } } class Kind { function __construct($id, $name) { $this->id = $id; $this->name = $name; } function getName() { return $this->name; } function getId() { return $this->id; } } <? $title = $perspective->destination()->name; if ($title != 'cs') { echo $title . ' | '; $spClass = ' class="subpage"'; } else { $hpActive = ' class="active"'; } ?>Mobestyl - stavební dozor a realizace staveb