Your IP : 216.73.217.80


Current Path : /home/jlgagfroyt/www/administrator/components/com_vitabook/models/rules/
Upload File :
Current File : /home/jlgagfroyt/www/administrator/components/com_vitabook/models/rules/name.php

<?php
/**
 * @version     2.2.3
 * @package     com_vitabook
 * @copyright   Copyright (C) 2012. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 * @author      JoomVita - http://www.joomvita.com
 */
 
defined('JPATH_PLATFORM') or die;
 
/**
 * Form Rule class for the Joomla Platform.
 *
 * @package     Joomla.Platform
 * @subpackage  Form
 * @since       11.1
 */
class JFormRuleName extends JFormRule
{
    /**
     * The regular expression to use in testing a form field value.
     *
     * @var    string 
     * @since  11.1
     */
    protected $regex = '^[^<|>|"|%|;|(|)|&]{1,100}$'; // Disallows < > " % ; ( ) and & in a username. Username also has to be within 2 to 100 characters
    
}