Definition at line 183 of file status_tree.inc.
◆ drawLinks()
StatusBlockView::drawLinks |
( |
| ) |
|
◆ drawView()
StatusBlockView::drawView |
( |
| ) |
|
Definition at line 199 of file status_tree.inc.
202 echo
"<div class=\"status_block\">";
204 echo
"<div id=\"col2\"><br/>";
◆ getButtonHTML()
StatusBlockView::getButtonHTML |
( |
|
$url, |
|
|
|
$icon, |
|
|
|
$text, |
|
|
|
$newWindow = false , |
|
|
|
$class = "" |
|
) |
| |
Definition at line 259 of file status_tree.inc.
262 $target =
"target='_blank'";
264 $class = (!$class) ?
"button" : $class;
265 $img = ($icon) ?
"<img src='$icon' style='border: none'>" :
"";
267 $html =
"<p><a $target class=\"$class\" href=\"$url\">
268 $img $text </a></p>";
◆ getDeleteButton()
StatusBlockView::getDeleteButton |
( |
|
$class = "" | ) |
|
Definition at line 297 of file status_tree.inc.
299 $class = (!$class) ?
"button" : $class;
302 $message =
"Are you sure you want to delete this {$this->activityName}?";
304 $html =
"<p><a href=\"$this->deleteUrl\" class=\"$class\"
305 onclick=\"return confirm('$message');\">
306 $icon Delete this $this->activityName</a></p>";
◆ getEditButton()
StatusBlockView::getEditButton |
( |
|
$class = "" , |
|
|
|
$newWindow = false |
|
) |
| |
Definition at line 312 of file status_tree.inc.
314 $html = $this->
getButtonHTML($this->item->getEditUrl(), $this->iconEdit,
"Edit this {$this->activityName}", $newWindow);
getButtonHTML($url, $icon, $text, $newWindow=false, $class="")
◆ getLinksHTML()
StatusBlockView::getLinksHTML |
( |
| ) |
|
◆ getSummaryHTML()
StatusBlockView::getSummaryHTML |
( |
| ) |
|
◆ getViewButton()
StatusBlockView::getViewButton |
( |
|
$class = "" | ) |
|
Definition at line 319 of file status_tree.inc.
321 $html = $this->
getButtonHTML($this->item->getViewUrl(), $this->iconView,
"View this {$this->activityName}", $newWindow);
◆ getViewHTML()
StatusBlockView::getViewHTML |
( |
| ) |
|
Definition at line 216 of file status_tree.inc.
220 $html =
"<div class=\"status_block\">";
222 $html .=
"<div id=\"col2\" style=\"float: right\"><br/>\n";
224 $html .=
"</div>\n<br/>\n";
◆ StatusBlockView()
StatusBlockView::StatusBlockView |
( |
|
$item | ) |
|
◆ writeButton()
StatusBlockView::writeButton |
( |
|
$url, |
|
|
|
$icon, |
|
|
|
$text, |
|
|
|
$newWindow = false , |
|
|
|
$class = "" |
|
) |
| |
◆ writeDeleteButton()
StatusBlockView::writeDeleteButton |
( |
|
$class = "" | ) |
|
Definition at line 283 of file status_tree.inc.
285 echo $this->getDeleteButtonHTML($class);
◆ writeEditButton()
StatusBlockView::writeEditButton |
( |
| ) |
|
Definition at line 278 of file status_tree.inc.
280 $this->
writeButton($this->item->getEditUrl(), $this->iconEdit,
"Edit this {$this->activityName}",
false);
writeButton($url, $icon, $text, $newWindow=false, $class="")
◆ writeSummary()
StatusBlockView::writeSummary |
( |
| ) |
|
◆ writeViewButton()
StatusBlockView::writeViewButton |
( |
| ) |
|
Definition at line 273 of file status_tree.inc.
275 $this->
writeButton($this->item->getViewUrl(), $this->iconView,
"View this {$this->activityName}",
false);
◆ writeViewPopupButton()
StatusBlockView::writeViewPopupButton |
( |
| ) |
|
Definition at line 288 of file status_tree.inc.
290 $url = $this->item->getViewUrl();
292 echo
"<a class=\"button\" href=\"$url\" onclick=\"popup('$url', '_blank', 750, 600); return false;\">
293 <img src=\"$this->iconView\" alt=\"View\"/> View this $this->activityName </a><br/>";
◆ $activityName
StatusBlockView::$activityName |
◆ $deleteUrl
StatusBlockView::$deleteUrl |
◆ $iconDelete
StatusBlockView::$iconDelete |
◆ $iconEdit
StatusBlockView::$iconEdit |
◆ $iconView
StatusBlockView::$iconView |
◆ $item
◆ $statusCategories
StatusBlockView::$statusCategories |
The documentation for this class was generated from the following file: