Field_Tel
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
dl 0
loc 10
c 0
b 0
f 0
wmc 0
lcom 0
cbo 1
1
<?php
2
/**
3
 * Part of the Joomla Framework Form Package
4
 *
5
 * @copyright  Copyright (C) 2005 - 2016 Open Source Matters, Inc. All rights reserved.
6
 * @license    GNU General Public License version 2 or later; see LICENSE
7
 */
8
9
namespace Joomla\Form;
10
11
FormHelper::loadFieldClass('text');
12
13
/**
14
 * Form Field class for the Joomla Framework.
15
 * Supports a text field telephone numbers.
16
 *
17
 * @link        http://www.w3.org/TR/html-markup/input.tel.html
18
 * @see         JFormRuleTel for telephone number validation
19
 * @see         JHtmlTel for rendering of telephone numbers
20
 * @since       1.0
21
 * @deprecated  The joomla/form package is deprecated
22
 */
23
class Field_Tel extends Field_Text
0 ignored issues
show
Deprecated Code introduced by
The class Joomla\Form\Field_Text has been deprecated with message: The joomla/form package is deprecated

This class, trait or interface has been deprecated. The supplier of the file has supplied an explanatory message.

The explanatory message should give you some clue as to whether and when the type will be removed from the class and what other constant to use instead.

Loading history...
24
{
25
	/**
26
	 * The form field type.
27
	 *
28
	 * @var    string
29
	 * @since  1.0
30
	 */
31
	protected $type = 'Tel';
32
}
33