#5998: Niches Irregular plural addition to Inflector
--------------------------------------------+-------------------------------
Reporter: predominant | Owner:
Type: Enhancement | Status: new
Priority: Low | Milestone: 1.3.x.x
Component: Core Libs | Version:
Severity: Trivial | Resolution:
Keywords: Inflector niche predominant | Php_version: n/a
Cake_version: |
--------------------------------------------+-------------------------------
Comment (by predominant):
In fact, pluralize from 'niche' to 'niches' works.
The issue is with singularize from 'niches' to 'niche'.
#P CakePHP 1.2.x.x
Index: cake/libs/inflector.php
===================================================================
--- cake/libs/inflector.php (revision 7986)
+++ cake/libs/inflector.php (working copy)
@@ -337,6 +337,7 @@
'mongooses' => 'mongoose',
'moves' => 'move',
'mythoi' => 'mythos',
+ 'niches' => 'niche',
'numina' => 'numen',
'occiputs' => 'occiput',
'octopuses' => 'octopus',
--
Ticket URL: <https://trac.cakephp.org/ticket/5998#comment:2>
CakePHP : The Rapid Development Framework for PHP <https://trac.cakephp.org/>
Cake is a rapid development framework for PHP which uses commonly known design
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC.
Our primary goal is to provide a structured framework that enables PHP users at
all levels to rapidly develop robust web applications, without any loss to
flexibility.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"tickets cakephp" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/tickets-cakephp?hl=en
-~----------~----~----~----~------~----~------~--~---