literal Function

Returns the value of a literal by name, resolved to the current locale.

Summary

ElementFunction
ReturnsString

Arguments

nameString[required] The name of the literal to load.

Example

$this->literal('welcome');
CodeMessageLineFile
2count(): Parameter must be an array or an object that implements Countable224/home2/ptorg/public_html/pagetype/content/pages/en/docml.viewer.php