You've already forked joomla_test
first commit
This commit is contained in:
34
libraries/joomla/form/fields/tel.php
Normal file
34
libraries/joomla/form/fields/tel.php
Normal file
@ -0,0 +1,34 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Platform
|
||||
* @subpackage Form
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE
|
||||
*/
|
||||
|
||||
defined('JPATH_PLATFORM') or die;
|
||||
|
||||
JFormHelper::loadFieldClass('text');
|
||||
|
||||
/**
|
||||
* Form Field class for the Joomla Platform.
|
||||
* Supports a text field telephone numbers.
|
||||
*
|
||||
* @package Joomla.Platform
|
||||
* @subpackage Form
|
||||
* @link http://www.w3.org/TR/html-markup/input.tel.html
|
||||
* @see JFormRuleTel for telephone number validation
|
||||
* @see JHtmlTel for rendering of telephone numbers
|
||||
* @since 11.1
|
||||
*/
|
||||
class JFormFieldTel extends JFormFieldText
|
||||
{
|
||||
/**
|
||||
* The form field type.
|
||||
*
|
||||
* @var string
|
||||
* @since 11.1
|
||||
*/
|
||||
protected $type = 'Tel';
|
||||
}
|
Reference in New Issue
Block a user