/**
  * Standard SS function
  * Creating level of detail
  * Note that the _GET variable "geobuild" needs to be turned on.
  **/
 public function requireDefaultRecords()
 {
     parent::requireDefaultRecords();
     $bt = defined('DB::USE_ANSI_SQL') ? "\"" : "`";
     $parents = DataObject::get("BrowseWorldPage");
     if ($parents && isset($_GET["geobuild"]) && $_GET["geobuild"]) {
         foreach ($parents as $parent) {
             if ($parent->CreateChildren) {
                 echo "<li>creating continents for " . $parent->Title . "<ul>";
                 $continents = $this->getDataFromTable("continents", null, "Continent");
                 foreach ($continents as $continent) {
                     if (!DataObject::get("BrowseContinentsPage", "{$bt}BrowseAbstractPage{$bt}.{$bt}HiddenDataID{$bt} = " . $continent["ContinentID"])) {
                         $page = new BrowseContinentsPage();
                         $page->CreateContinent($continent, $parent);
                         $page->destroy();
                     }
                 }
                 echo "</ul></li>";
             }
         }
     }
 }