lib/private/legacy/util.php 1 location
|
@@ 600-606 (lines=7) @@
|
| 597 |
|
* @param array $attributes array of attributes for the element |
| 598 |
|
* @param string $text the text content for the element |
| 599 |
|
*/ |
| 600 |
|
public static function addHeader($tag, $attributes, $text=null) { |
| 601 |
|
self::$headers[] = array( |
| 602 |
|
'tag' => $tag, |
| 603 |
|
'attributes' => $attributes, |
| 604 |
|
'text' => $text |
| 605 |
|
); |
| 606 |
|
} |
| 607 |
|
|
| 608 |
|
/** |
| 609 |
|
* formats a timestamp in the "right" way |
lib/private/legacy/template.php 1 location
|
@@ 186-192 (lines=7) @@
|
| 183 |
|
* @param string $text the text content for the element. If $text is null then the |
| 184 |
|
* element will be written as empty element. So use "" to get a closing tag. |
| 185 |
|
*/ |
| 186 |
|
public function addHeader($tag, $attributes, $text=null) { |
| 187 |
|
$this->headers[]= array( |
| 188 |
|
'tag' => $tag, |
| 189 |
|
'attributes' => $attributes, |
| 190 |
|
'text' => $text |
| 191 |
|
); |
| 192 |
|
} |
| 193 |
|
|
| 194 |
|
/** |
| 195 |
|
* Process the template |