CoreFiles by mySites.guru
prefix.php34 lines, 704 bytes, from Joomla_3.0.4-Stable-Full_Package.zip
Raw History Compare with 3.0.3
md5
71387ed7ccddd2bbb0bb6cee860cf474
sha1
2c918a0804b0ce9e9e0aae45f7d1c1ff35bd8b4d
sha256
90ac74b704ba1e825e58111de6ee8468e3265e6af12a19d483a54404a45c8700
<?php
/**
 * @package    Joomla.Installation
 *
 * @copyright  Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('JPATH_BASE') or die;

/**
 * Form Rule class for the prefix DB.
 *
 * @package  Joomla.Installation
 * @since    1.7
 */
class JFormRulePrefix extends JFormRule
{
	/**
	 * The regular expression to use in testing a form field value.
	 *
	 * @var    string
	 * @since  1.7
	 */
	protected $regex = '^[a-z][a-z0-9]*_$';

	/**
	 * The regular expression modifiers to use when testing a form field value.
	 *
	 * @var    string
	 * @since  1.7
	 */
	protected $modifiers = 'i';
}

The same content is in 2 releases, Joomla 3.0.3 to 3.0.4. See them all, or every version of this file.