CoreFiles by mySites.guru
prefix.php33 lines, 694 bytes, from Joomla_2.5.21-Stable-Full_Package.zip
Raw History Compare with 2.5.20
md5
c97690f7ecd214ce94934e4a473daf41
sha1
9f10ad824e9cbbfd6dc72780b294c3310bbb13c6
sha256
7893be17f61cd0228908b2439b88b3cb5658363364505f35853c06b218139ecc
<?php
/**
 * @package		Joomla.Installation
 * @copyright	Copyright (C) 2005 - 2014 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 11 releases, Joomla 2.5.18 to 2.5.28. See them all, or every version of this file.