Skip to content

Commit 91ff09c

Browse files
committed
Orange Summer III
1 parent 7625a12 commit 91ff09c

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

Html.php

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -132,20 +132,20 @@ function __construct(
132132
}
133133

134134
//Html template processor: Blade
135-
function setBlade(bool $blade = true)
135+
function setBlade(bool $blade = null)
136136
{
137137
$this->blade = $blade;
138138
return $this;
139139
}
140140

141141
//Html template processor: NeosTag
142-
function setNtag(bool $ntag = true)
142+
function setNtag(bool $ntag = null)
143143
{
144144
$this->nTag = $ntag;
145145
return $this;
146146
}
147147

148-
function setPathHtml(string $val)
148+
function setPathHtml($val)
149149
{
150150
$this->pathHtml = $val;
151151
return $this;
@@ -181,6 +181,12 @@ function setUrl(string $val)
181181
return $this;
182182
}
183183

184+
function setName($name)
185+
{
186+
$this->name = $name;
187+
return $this;
188+
}
189+
184190
function body($v = null)
185191
{
186192
if ($v === null) {
@@ -235,7 +241,7 @@ function insertBlock($tag, $contents)
235241
return $this;
236242
}
237243

238-
function cached(bool $b = true)
244+
function cached(bool $b = null)
239245
{
240246
$this->cached = $b;
241247
return $this;

0 commit comments

Comments
 (0)