OOUI
Object-Oriented User Interface
Loading...
Searching...
No Matches
OOUI\HtmlSnippet Class Reference

Wraps a HTML snippet for use with Tag::appendContent() and Tag::prependContent(). More...

Public Member Functions

 __construct ( $content)
 
 __toString ()
 Render into HTML.
 

Protected Attributes

string $content
 HTML snippet this instance represents.
 

Detailed Description

Wraps a HTML snippet for use with Tag::appendContent() and Tag::prependContent().

Constructor & Destructor Documentation

◆ __construct()

OOUI\HtmlSnippet::__construct ( $content)
Parameters
string$contentHTML snippet
-taint$contentexec_html

Member Function Documentation

◆ __toString()

OOUI\HtmlSnippet::__toString ( )

Render into HTML.

Returns
string Unchanged HTML snippet

The documentation for this class was generated from the following file: