11namespace Depage\HtmlForm\Elements;
50 parent::setDefaults();
52 $this->defaults[
'errorMessage'] = _(
'Please enter a valid URL');
64 parent::typeCastValue();
66 if ($this->normalize) {
htmlEscape(array|string $options=[])
Escapes HTML in strings and arrays of strings.
$value
Input elements's value.
typeCastValue()
Converts value into htmlDOM.
htmlValue()
Returns the value of the element as HTML.
setDefaults()
collects initial values across subclasses
static normalizeUrl($url)
normalizes url
static humanReadableUrl($url)
changes encoded url to a human readable format