Joomla Platform  13.1
Documentation des API du framework Joomla Platform
 Tout Classes Espaces de nommage Fichiers Fonctions Variables Pages
boolean.php
Aller à la documentation de ce fichier.
1 <?php
2 /**
3  * @package Joomla.Platform
4  * @subpackage Form
5  *
6  * @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
7  * @license GNU General Public License version 2 or later; see LICENSE
8  */
9 
10 defined('JPATH_PLATFORM') or die;
11 
12 /**
13  * Form Rule class for the Joomla Platform.
14  *
15  * @package Joomla.Platform
16  * @subpackage Form
17  * @since 11.1
18  */
20 {
21  /**
22  * The regular expression to use in testing a form field value.
23  *
24  * @var string
25  * @since 11.1
26  */
27  protected $regex = '^(?:[01]|true|false)$';
28 
29  /**
30  * The regular expression modifiers to use when testing a form field value.
31  *
32  * @var string
33  * @since 11.1
34  */
35  protected $modifiers = 'i';
36 }