source:
Dev/trunk/classes_old/Menu.php
@
137
Last change on this file since 137 was 137, checked in by jkraaijeveld, 14 years ago | |
---|---|
File size: 343 bytes |
Rev | Line | |
---|---|---|
[137] | 1 | <?php |
2 | ||
3 | /** | |
4 | * Description of Menu | |
5 | * | |
6 | * @author fpvanagthoven | |
7 | */ | |
8 | class Menu { | |
9 | ||
10 | private $title; | |
11 | ||
12 | public function __construct($title) { | |
13 | $this->title = $title; | |
14 | ||
15 | $this->menuTitle(); | |
16 | } | |
17 | ||
18 | public function menuTitle() { | |
19 | ?> | |
20 | <legend><h2><?php echo $this->title; ?></h2></legend> | |
21 | <?php | |
22 | } | |
23 | ||
24 | } | |
25 | ?> |
Note: See TracBrowser
for help on using the repository browser.