Use new titled code box macro
[GitHub/WoltLab/woltlab.github.io.git] / snippets / php / database-objects / ViewableExample.class.php
1 <?php
2 namespace wcf\data\example;
3 use wcf\data\DatabaseObjectDecorator;
4
5 class ViewableExample extends DatabaseObjectDecorator {
6 protected static $baseClass = Example::class;
7
8 public function getOutput() {
9 $output = '';
10
11 // [determine output]
12
13 return $output;
14 }
15 }