return $this->getLink($blurb, sprintf("%s/%s", $this->getURL(), urlencode($action)), array_unique(array_merge($classes, array("small"))));
}
- function getDeleteLink() {
- return $this->getActionLink("delete", "Delete", "delete");
+ function getDeleteLink($confirm = false) {
+ $link = ($confirm) ? "confirmdelete" : "delete";
+ return $this->getActionLink($link, "Delete", array("delete", "noprint"));
}
}