/**
  * Create new extended public profile page
  */
 function create()
 {
     global $ilDB;
     $this->setOrderNr(ilExtPublicProfilePage::lookupMaxOrderNr($this->getUserId()) + 10);
     $id = $ilDB->nextId("usr_ext_profile_page");
     $this->setId($id);
     $query = "INSERT INTO usr_ext_profile_page (" . "id" . ", title" . ", user_id" . ", order_nr" . " ) VALUES (" . $ilDB->quote($this->getId(), "integer") . "," . $ilDB->quote($this->getTitle(), "text") . "," . $ilDB->quote($this->getUserId(), "integer") . "," . $ilDB->quote($this->getOrderNr(), "integer") . ")";
     $ilDB->manipulate($query);
     parent::create();
     $this->saveInternalLinks($this->getXMLContent());
 }