/**
  * Load the HTML template files for editing and confirming the index and demographic information.
  */
 protected function loadHTMLTemplates()
 {
     parent::loadHTMLTemplates();
     if ($this->getPrimary()->getId() == '0') {
         $this->template->setAttribute("class", "active", "menuPerson", "a[@href='person']");
     }
 }
 /**
  * Load the HTML template files for editing and confirming the index and demographic information.
  */
 protected function loadHTMLTemplates()
 {
     parent::loadHTMLTemplates();
     if ($this->getPrimary()->getId() != '0') {
         $this->template->appendFileById("menu_view_link.html", "li", "navBarUL", true);
     } else {
         $this->template->setAttribute("class", "active", "menuManage", "a[@href='manage']");
         $this->template->appendFileById("menu_manage.html", "ul", "menuManage");
         $this->template->setAttribute("class", "active", "menuManage", "ul/li/a[@href='person']");
     }
 }