Last change
on this file since 59 was
59,
checked in by fpvanagthoven, 14 years ago
|
Absolutely had to do something about styling. Also some other things.
|
File size:
334 bytes
|
Rev | Line | |
---|
[59] | 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><?php echo $this->title; ?></legend> |
---|
| 21 | <?php |
---|
| 22 | } |
---|
| 23 | |
---|
| 24 | } |
---|
| 25 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.