Elements/Url.php
Go to the documentation of this file.
1<?php
11
36class Url extends Text
37{
47 protected function setDefaults()
48 {
49 parent::setDefaults();
50
51 $this->defaults['errorMessage'] = _('Please enter a valid URL');
52
53 // @todo add option to test url by domain name (dns) or also with a request (for http/https urls)
54 }
55}
56
57/* vim:set ft=php sw=4 sts=4 fdm=marker et : */
HTML text input type.
Definition Text.php:39
setDefaults()
collects initial values across subclasses
Classes for HTML input-elements.
Definition Address.php:9