1<?php
2
3/* Copyright (c) 1998-2019 ILIAS open source, Extended GPL, see docs/LICENSE */
4
5/**
6 * Class ilPCTabGUI
7 * @author Alex Killing <killing@leifos.de>
8 */
9class ilPCTabGUI extends ilPageContentGUI
10{
11
12    /**
13     * execute command
14     */
15    public function executeCommand()
16    {
17        // get next class that processes or forwards current command
18        $next_class = $this->ctrl->getNextClass($this);
19
20        // get current command
21        $cmd = $this->ctrl->getCmd();
22
23        switch ($next_class) {
24            default:
25                $ret = $this->$cmd();
26                break;
27        }
28
29        return $ret;
30    }
31}
32