t()
t(string $string) : string
Mask HTML-chars for save output.
Parameters
| string | $string | String to be masked |
Returns
string —Masked string
Class for implementing utility methods.
shortenString(string $string, integer $length, integer $scope) : string
Cut a string to the given length but only word boundaries.
| string | $string | String to cut |
| integer | $length | Length to cut string |
| integer | $scope | Maximum length to cut string regardless word boundaries |
Cutted string
sendMail(mixed $to, string $messageAction, boolean $html = false, array $params = null, \nre\core\Linker $linker = null)
Send an e‑mail.
| mixed | $to | One (string) or many (array) receivers |
| string | $messageAction | Message Action |
| boolean | $html | Whether mail should be formatted as HTML or not |
| array | $params | Parameters to pass |
| \nre\core\Linker | $linker | Linker instance |