Rev 3 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log
Rev 3 | Rev 6 | ||
---|---|---|---|
Line 22... | Line 22... | ||
22 | public function __construct ($title = null) { |
22 | public function __construct ($title = null) { |
23 | if ($title != null) |
23 | if ($title != null) |
24 | $title = htmlentities($title); |
24 | $title = htmlentities($title); |
25 | 25 | ||
26 | $this->title = $title; |
26 | $this->title = $title; |
- | 27 | }
|
|
- | 28 | ||
- | 29 | /*
|
|
- | 30 | *
|
|
- | 31 | * Set the title.
|
|
- | 32 | * @param String title
|
|
- | 33 | */
|
|
- | 34 | public function setTitle ($title) { |
|
- | 35 | $this->title = htmlentities($title); |
|
27 | }
|
36 | }
|
28 | 37 | ||
29 | /**
|
38 | /**
|
30 | *
|
39 | *
|
31 | * Set a custom style ID (CSS) to this class.
|
40 | * Set a custom style ID (CSS) to this class.
|