/**
  *
  * @param DocumentationPage $page
  * @param string $basename
  * @param string $path
  */
 protected function addPage($page, $basename, $path)
 {
     $link = $this->stripLinkBase($page->Link());
     $this->pages[$link] = array('title' => $page->getTitle(), 'basename' => $basename, 'filepath' => $path, 'type' => get_class($page), 'entitypath' => $this->entity->getPath(), 'summary' => $page->getSummary());
 }
 /**
  * Generate a string for the title tag in the URL.
  *
  * @return string
  */
 public function getTitle()
 {
     return $this->record ? $this->record->getTitle() : null;
 }