CoreFiles by mySites.guru
prefix.php36 lines, 794 bytes, from Joomla_1.7.2-Stable-Full_Package.zip
Raw History Compare with 1.7.1
md5
9f4cb9e2f795f4a8ba82a910c52ee5a8
sha1
ba7437d62d534a30dcbaa39804fef6c16e95e0fc
sha256
f8b799b0a00eaab64bd0a146ce046e5db9703ca6bdd441e915cfada48d96abb6
<?php
/**
 * @version		$Id: prefix.php 21676 2011-06-25 07:43:49Z chdemko $
 * @package		Joomla.Installation
 * @copyright	Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved.
 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('JPATH_BASE') or die;

jimport('joomla.form.formrule');

/**
 * 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 6 releases, Joomla 1.7.0 to 1.7.5. See them all, or every version of this file.