public function getEdit($isadmin, $userid, $commid, $htmlcomment)
    {
        $update = $this->setUrlCreator("comm/update");
        if ($isadmin || $userid == $this->sess['id']) {
            $edit = '<p><a href="' . $update . '/' . $commid . '">Redigera</a> | ';
            $edit .= $htmlcomment;
        } else {
            $edit = "<p>" . $htmlcomment . "</p>";
        }
        return $edit;
    }