added support for Firebug SQL logging
[qcms.git] / config / inflections.php
blobc262a6543df3d7f209c58e4578276f026db22353
1 <?php
2 /* SVN FILE: $Id: inflections.php 6296 2008-01-01 22:18:17Z phpnut $ */
3 /**
4 * Custom Inflected Words.
6 * This file is used to hold words that are not matched in the normail Inflector::pluralize() and
7 * Inflector::singularize()
9 * PHP versions 4 and %
11 * CakePHP(tm) : Rapid Development Framework <http://www.cakephp.org/>
12 * Copyright 2005-2008, Cake Software Foundation, Inc.
13 * 1785 E. Sahara Avenue, Suite 490-204
14 * Las Vegas, Nevada 89104
16 * Licensed under The MIT License
17 * Redistributions of files must retain the above copyright notice.
19 * @filesource
20 * @copyright Copyright 2005-2008, Cake Software Foundation, Inc.
21 * @link http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project
22 * @package cake
23 * @subpackage cake.app.config
24 * @since CakePHP(tm) v 1.0.0.2312
25 * @version $Revision: 6296 $
26 * @modifiedby $LastChangedBy: phpnut $
27 * @lastmodified $Date: 2008-01-01 20:18:17 -0200 (mar, 01 ene 2008) $
28 * @license http://www.opensource.org/licenses/mit-license.php The MIT License
30 /**
31 * This is a key => value array of regex used to match words.
32 * If key matches then the value is returned.
34 * $pluralRules = array('/(s)tatus$/i' => '\1\2tatuses', '/^(ox)$/i' => '\1\2en', '/([m|l])ouse$/i' => '\1ice');
36 $pluralRules = array();
37 /**
38 * This is a key only array of plural words that should not be inflected.
39 * Notice the last comma
41 * $uninflectedPlural = array('.*[nrlm]ese', '.*deer', '.*fish', '.*measles', '.*ois', '.*pox');
43 $uninflectedPlural = array();
44 /**
45 * This is a key => value array of plural irregular words.
46 * If key matches then the value is returned.
48 * $irregularPlural = array('atlas' => 'atlases', 'beef' => 'beefs', 'brother' => 'brothers')
50 $irregularPlural = array();
51 /**
52 * This is a key => value array of regex used to match words.
53 * If key matches then the value is returned.
55 * $singularRules = array('/(s)tatuses$/i' => '\1\2tatus', '/(matr)ices$/i' =>'\1ix','/(vert|ind)ices$/i')
57 $singularRules = array();
58 /**
59 * This is a key only array of singular words that should not be inflected.
60 * You should not have to change this value below if you do change it use same format
61 * as the $uninflectedPlural above.
63 $uninflectedSingular = $uninflectedPlural;
64 /**
65 * This is a key => value array of singular irregular words.
66 * Most of the time this will be a reverse of the above $irregularPlural array
67 * You should not have to change this value below if you do change it use same format
69 * $irregularSingular = array('atlases' => 'atlas', 'beefs' => 'beef', 'brothers' => 'brother')
71 $irregularSingular = array_flip($irregularPlural);