We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f588bfc commit 7ca719eCopy full SHA for 7ca719e
php/Page.php
@@ -24,6 +24,7 @@ class Page extends Html
24
<!DOCTYPE html>
25
<html lang="en">
26
<head>
27
+ <meta charset="utf-8">
28
<title>%s</title>
29
%s
30
</head>
@@ -118,6 +119,18 @@ public function setHead($h)
118
119
}
120
121
122
+ public function addToHead($h)
123
+ {
124
+ if (is_a($h, 'Html'))
125
126
+ $this->head .= $h->getHtml();
127
+ }
128
+ if (is_string($h))
129
130
+ $this->head .= $h;
131
132
133
+
134
public function addToLeftCol($h)
135
{
136
if (is_a($h, 'Html'))
0 commit comments