Skip to content

Commit b63c5df

Browse files
committed
Update HtmlDoubleElement.php
1 parent e63bba3 commit b63c5df

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Ajax/common/html/HtmlDoubleElement.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public function addContent($content, $before = false) {
4343
$this->content = array();
4444
}
4545
if ($before)
46-
array_unshift($this->content, $content);
46+
\array_unshift($this->content, $content);
4747
else
4848
$this->content[] = $content;
4949
return $this;
@@ -116,10 +116,10 @@ public function asLink($href = NULL, $target = NULL) {
116116
}
117117

118118
public function getTextContent() {
119-
if (is_array($this->content)) {
120-
return strip_tags(implode("", $this->content));
119+
if (\is_array($this->content)) {
120+
return \strip_tags(implode("", $this->content));
121121
}
122-
return strip_tags($this->content);
122+
return \strip_tags($this->content);
123123
}
124124

125125
public function asEditable(HtmlFormField $field, $asForm = false, $setValueProperty = "val()") {

0 commit comments

Comments
 (0)