yf_tpl_raw classValue holder that tpl()->AUTO_ESCAPE prints without escaping; created by tpl()->raw($html).
| File | plugins/tpl/classes/tpl/yf_tpl_raw.class.php |
|---|---|
| Use | _class('tpl_raw', 'classes/tpl/') |
A site sets them in its config with $PROJECT_CONF['tpl_raw']['NAME'] = ...;
| Property | Default | Description |
|---|---|---|
$html |
'' |
public function render()
public function render()
{
return $this->html;
}
_ hooks and helpers; not routable as page actionspublic function __construct($html = '')
public function __construct($html = '')
{
$this->html = (string) $html;
}
public function __toString(): string
public function __toString() : string
{
return $this->html;
}