public function EasyRdf_Literal_HTML::stripTags in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/easyrdf/easyrdf/lib/EasyRdf/Literal/HTML.php \EasyRdf_Literal_HTML::stripTags()
Strip the HTML tags from the literal
@link http://php.net/manual/en/function.strip-tags.php
Parameters
string $allowableTags Optional allowed tag, not be be removed:
Return value
string The literal as plain text
File
- vendor/
easyrdf/ easyrdf/ lib/ EasyRdf/ Literal/ HTML.php, line 66
Class
- EasyRdf_Literal_HTML
- Class that represents an RDF Literal of datatype rdf:HTML
Code
public function stripTags($allowableTags = null) {
return strip_tags($this->value, $allowableTags);
}