| @@ 1654-1662 (lines=9) @@ | ||
| 1651 | * |
|
| 1652 | * @return String HTML |
|
| 1653 | */ |
|
| 1654 | public function Tools() { |
|
| 1655 | $templates = $this->getTemplatesWithSuffix('_Tools'); |
|
| 1656 | if($templates) { |
|
| 1657 | $viewer = new SSViewer($templates); |
|
| 1658 | return $viewer->process($this); |
|
| 1659 | } else { |
|
| 1660 | return false; |
|
| 1661 | } |
|
| 1662 | } |
|
| 1663 | ||
| 1664 | /** |
|
| 1665 | * Renders a panel containing tools which apply to the currently displayed edit form. |
|
| @@ 1675-1683 (lines=9) @@ | ||
| 1672 | * |
|
| 1673 | * @return String HTML |
|
| 1674 | */ |
|
| 1675 | public function EditFormTools() { |
|
| 1676 | $templates = $this->getTemplatesWithSuffix('_EditFormTools'); |
|
| 1677 | if($templates) { |
|
| 1678 | $viewer = new SSViewer($templates); |
|
| 1679 | return $viewer->process($this); |
|
| 1680 | } else { |
|
| 1681 | return false; |
|
| 1682 | } |
|
| 1683 | } |
|
| 1684 | ||
| 1685 | /** |
|
| 1686 | * Batch Actions Handler |
|