*/ class NaviHierarchyEntry { private $name; private $controller; private $action; public function __construct($name, $controller, $action, $isLast) { $this->name = $name; $this->controller = $controller; $this->action = $action; $this->isLast = $isLast; return $this; } private function link() { $self = $GLOBALS["self"]; return $self->Html->Link( '' . $this->name . '', ['controller' => $this->controller, 'action' => $this->action], ['class' => "", 'escape' => false] ); } public function __toString() { $str = "