CoreFiles by mySites.guru
prefix.php34 lines, 704 bytes, from Joomla_3.0.0-Stable-Full_Package.zip
Raw History Compare with 2.5.28
md5
b6d00763d16177e53ea77ce504f47e03
sha1
e8b30a3ce42fa608ceb198dcb2f87ca72486810a
sha256
042f6645a2dcbf4811249183da97dbb1251af0c6dabcf4afa1b529464d647ea7
<?php
/**
 * @package    Joomla.Installation
 *
 * @copyright  Copyright (C) 2005 - 2012 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 3 releases, Joomla 3.0.0 to 3.0.2. See them all, or every version of this file.