public function InflectorTest::dataSampleWords in Plug 7
Singular & Plural test data. Returns an array of sample words.
Return value
array
File
- lib/
doctrine/ inflector/ tests/ Doctrine/ Tests/ Common/ Inflector/ InflectorTest.php, line 15
Class
Namespace
Doctrine\Tests\Common\InflectorCode
public function dataSampleWords() {
Inflector::reset();
// in the format array('singular', 'plural')
return array(
array(
'categoria',
'categorias',
),
array(
'house',
'houses',
),
array(
'powerhouse',
'powerhouses',
),
array(
'Bus',
'Buses',
),
array(
'bus',
'buses',
),
array(
'menu',
'menus',
),
array(
'news',
'news',
),
array(
'food_menu',
'food_menus',
),
array(
'Menu',
'Menus',
),
array(
'FoodMenu',
'FoodMenus',
),
array(
'quiz',
'quizzes',
),
array(
'matrix_row',
'matrix_rows',
),
array(
'matrix',
'matrices',
),
array(
'vertex',
'vertices',
),
array(
'index',
'indices',
),
array(
'Alias',
'Aliases',
),
array(
'Media',
'Media',
),
array(
'NodeMedia',
'NodeMedia',
),
array(
'alumnus',
'alumni',
),
array(
'bacillus',
'bacilli',
),
array(
'cactus',
'cacti',
),
array(
'focus',
'foci',
),
array(
'fungus',
'fungi',
),
array(
'nucleus',
'nuclei',
),
array(
'octopus',
'octopuses',
),
array(
'radius',
'radii',
),
array(
'stimulus',
'stimuli',
),
array(
'syllabus',
'syllabi',
),
array(
'terminus',
'termini',
),
array(
'virus',
'viri',
),
array(
'person',
'people',
),
array(
'glove',
'gloves',
),
array(
'crisis',
'crises',
),
array(
'tax',
'taxes',
),
array(
'wave',
'waves',
),
array(
'bureau',
'bureaus',
),
array(
'cafe',
'cafes',
),
array(
'roof',
'roofs',
),
array(
'foe',
'foes',
),
array(
'cookie',
'cookies',
),
array(
'identity',
'identities',
),
array(
'criteria',
'criterion',
),
array(
'curve',
'curves',
),
array(
'',
'',
),
);
}