Source for file prefix.php

Documentation is available at prefix.php

  1. <?php
  2. /**
  3.  * @package    Joomla.Installation
  4.  *
  5.  * @copyright  Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
  6.  * @license    GNU General Public License version 2 or later; see LICENSE.txt
  7.  */
  8.  
  9. defined('JPATH_BASE'or die;
  10.  
  11. /**
  12.  * Form Rule class for the prefix DB.
  13.  *
  14.  * @package  Joomla.Installation
  15.  * @since    1.7
  16.  */
  17. class JFormRulePrefix extends JFormRule
  18. {
  19.     /**
  20.      * The regular expression to use in testing a form field value.
  21.      *
  22.      * @var    string 
  23.      * @since  1.7
  24.      */
  25.     protected $regex = '^[a-z][a-z0-9]*_$';
  26.  
  27.     /**
  28.      * The regular expression modifiers to use when testing a form field value.
  29.      *
  30.      * @var    string 
  31.      * @since  1.7
  32.      */
  33.     protected $modifiers = 'i';
  34. }

Documentation generated on Tue, 19 Nov 2013 15:11:12 +0100 by phpDocumentor 1.4.3