function getFromDBwithData($ID, $purecontent) { if ($this->getFromDB($ID)) { if (!$purecontent) { $this->fields["content"] = nl2br(preg_replace("/\r\n\r\n/", "\r\n", $this->fields["content"])); } $this->getAdditionalDatas(); return true; } return false; }