1: <?php
2: /**
3: * ManiaLive - TrackMania dedicated server manager in PHP
4: *
5: * @copyright Copyright (c) 2009-2011 NADEO (http://www.nadeo.com)
6: * @license http://www.gnu.org/licenses/lgpl.html LGPL License 3
7: * @version $Revision: 280 $:
8: * @author $Author: martin.gwendal $:
9: * @date $Date: 2011-11-07 19:21:52 +0100 (lun., 07 nov. 2011) $:
10: */
11:
12: namespace ManiaLive\Gui\Controls;
13:
14: /**
15: * Extend this to build your own tabs, that you can later add to a tabbed pane.
16: */
17: abstract class Tabbable extends \ManiaLive\Gui\Control
18: {
19: protected $title;
20:
21: function setTitle($title)
22: {
23: $this->title = $title;
24: }
25:
26: function getTitle()
27: {
28: return $this->title;
29: }
30:
31: function onActivate() {}
32:
33: function onDeactivate() {}
34: }
35:
36: ?>