private function getVersionsRepresentations()
 {
     $representations = array();
     $wiki_version_factory = new PHPWikiPageVersionFactory(new PHPWikiVersionDao());
     $page_versions = $wiki_version_factory->getPageAllVersions($this->id);
     foreach ($page_versions as $page_version) {
         $page_version_representation = new PhpWikiPluginPageVersionRepresentation();
         $page_version_representation->build($page_version);
         $representations[] = $page_version_representation;
     }
     return $representations;
 }
 public function build(PHPWikiPage $wiki_page, PHPWikiPageVersion $version)
 {
     parent::build($version);
     $this->wiki_content = $version->getContent();
     $this->formatted_content = $version->getFormattedContent($wiki_page);
 }