Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Taxonomy Module and Provider #1

Closed
bordoni opened this issue Apr 25, 2014 · 0 comments
Closed

Taxonomy Module and Provider #1

bordoni opened this issue Apr 25, 2014 · 0 comments

Comments

@bordoni
Copy link
Owner

bordoni commented Apr 25, 2014

Following the pattern created on the Post Provider, the request here is to create a provider for Faker and a module for FakerPress.

Idea on Providers is a Class to create more methods for the Faker class.

The idea for a Module is a Class that will allow you to take the methods from Faker save it to a instance at your Module class statically them save those faked variables to the DataBase.

Follow the ideas on the Post Module and Post Provider to do both.


For the taxonomy Module you should take a look at wp_insert_term function of WordPress.

Don't care about assign the terms to a Post or something like that, just create the Taxonomies terms.

@bordoni bordoni added this to the v0.1.0 milestone Apr 25, 2014
@bordoni bordoni assigned bordoni and unassigned ernandesferreira Jun 2, 2014
bordoni added a commit that referenced this issue Jun 14, 2014
Provider and Module for Terms - close #1
bordoni pushed a commit that referenced this issue Nov 9, 2015
bordoni added a commit that referenced this issue Jun 11, 2016
c6533b0 Merge pull request #926 from KeithYeh/master
2304c28 Add phpdoc method dateTimeInInterval in Generator.php
df56110 Merge pull request #913 from hertzg/improve_ka_GE
e86f5d8 lorem: removes lorem localization and adds suffixes and elements to company name generator
28493e3 Update Company.php
9e05ce2 internet: Fixed leading dot for mil.ge tld
a615b2a ka_GE: overall improvements to ka_GE locale
191fc2b Merge pull request #903 from markuspoerschke/building_numbers_with_letters_de
30f2b96 Merge pull request #908 from localheinz/fix/dist
0be0f12 Merge pull request #909 from localheinz/fix/max
0b8b53b Fix: Do not pick a random float less than minimum
d9ff519 Fix: Prefer dependencies installed from dist
38a7b48 Fix failing unit test.
120198f Merge pull request #489 from cbourgois/master
a9a4aed Fix Doctrine ODM Support
c65c23e Fix Doctrine ODM Support
123a68f Merge pull request #902 from fzaninotto/hu_address
09b3e9d Update changelog for 1.6
9310975 Add a building number with letter to German speaking locales.
3eb289c Remove parts of the hu_HU address formatters
cc83247 Merge pull request #901 from fzaninotto/norwegian_locale
29f04a6 Rename norwegian locale
026bd4f Merge branch 'lexicalbits-doctrine-orm-polish'
e710466 CS fix
ede2ff4 PSR-2 tweaks
42f37eb Try to use a standard setter function before populating data via reflection
050954b Added extended debugging information to formatter failures
598e51e Merge branch 'simkimsia-master'
9fa58a2 Fix tests
79d6141 ensure PhoneNumberTest passes for startsWith7Or8
cd1dd14 ensure that PhoneNumberTest passes
c996bf9 fix spacings for phpcs 1.5
ee1f128 add in unit tests for the Address
569a12e add in apartmentNumber formatter
8754f2b add in missing floorNumber formatter
e700e45 change the square brackets to array()
8a66baf rename range to pure array in PhoneNumber
35ae93e remove streetSuffix and streetName methods
304e6df address the codesniffer issues
feb33e8 use streetAddress used in addressFormats for en_SG
0d79106 add in unit test for Singapore Mobile numbers
5804d1e added Singapore Address and PhoneNumber
54e105f Merge branch 'acfreitas-master'
e08511c Make change smaller
5994b82 Fix bad merge
5c7c08b #574 move to PhoneNumber provider
d1ea15f Edited to use Luhn Algorithm and unit test for fix #575. Suggest by @ronanguilloux
6afb120 Edited link from Wikipedia to English
b2bff1e Update README to Provider IMEI #575
c392ecd Merge pull request #675 from bishopb/master
2ad583f Merge pull request #788 from mhamlet/master
55688c8 Merge pull request #852 from iTechDhaval/propel2_support
a0ea18a Merge pull request #869 from sebdesign/el_gr-phone-number
6ae0ef7 Merge pull request #883 from balping/master
de76097 Merge pull request #900 from fzaninotto/revert-899-feature/fr_FR_company_jobTitles
6d59b57 Revert "Add job titles for fr_FR locale"
6a08883 Merge pull request #899 from PedroTroller/feature/fr_FR_company_jobTitles
6abfc0c Merge pull request #896 from anvanza/patch-1
5c0e79f Merge pull request #897 from christianbartels/patch-1
765e46e Improve german titles
9d49beb Remove be_BE and distribute them between nl_BE en fr_BE
f83a9eb Merge pull request #1 from anvanza/master
bc6da45 Create PaymentTest.php
f409515 Add vat to the nl_BE provider
46fb045 Add job titles for fr_FR locale
ccef654 Merge pull request #892 from Newman101/license_contamination
e392b46 Merge pull request #894 from sanis/sanis-patch-1
aef856f Fixed provider namespace for Lithuanian language.
3100ec6 uk_UA & ru_RU: Removed @license from Text.php
2e4b268 Merge pull request #889 from andrewnicols/iso6391_lang
0719071 Add list of ISO-639-1 Language Codes
5cbef16 Added Hungarian -né female name form
5c63c6d Added Hungarian local coordinates
5501f23 Improved Hungarian addresses
6d3da73 Added Hungarian name title
ca9c446 Hungarian first names gender fix
1c33e89 Merge pull request #877 from iget-master/patch-1
9999f1c Merge pull request #880 from xelan/patch-1
84e26b6 Fix typo
0f76d44 Update readme.md
172d1bb Merge pull request #878 from z-song/master
606a449 Add more zh_CN tld and freeEmailDomain
eec7973 Add zh_CN catchPhrase
68aab29 Improve README.me on pt_BR providers section
684eab1 Merge pull request #864 from z-song/master
318bbc5 Merge pull request #874 from TomasVotruba/patch-1
3e6dd18 composer: allow PHP 7 in safer way
02a2a6e Add link about telephone numbers in Greece
c028b59 Add greek mobile and toll-free phone numbers
8deb634 Merge pull request #861 from LauLamanApps/master
a9e41bc Merge pull request #866 from Newman101/ping_before_imagetest
5579c98 Removed unnecessary comment, standardised brackets
c053915 Added comments
9a1f69d Reversed the logic
fdf4fb8 Added Lorempixel check for ImageTest.php
4938bf6 Update readme.md
1c9b507 Update readme.md
bdbbd12 add newline at end of Color.php
994bb5b Add Payment class for zh_CN
3aa84f1 Add DateTime class for zh_CN
b8414cb Add Color class for zh_CN
f177989 missing space
7ae607c Added Dutch BTW (vat) Number Added tests
3b907d8 Remove deprecated method isEpochTemporal in Propel2
8725441 Update CONECTION_WRITE reference
c012341 Add Propel2 support for faker
edcad4f Updates readme per comment from @fzaninotto
4259ace Fixing CS - PSR2
3a425ea Using formatters to randomize the code and numberFormat choice.
ccc37a3 Addresses BC break mentioned by @fzaninotto. Now defaults timezone to result of date_default_timezone_get() for all methods which return a \DateTime.
3cc52d0 Added some fixes to Armenian locale
fb76ee4 Adds time zone support for provider methods returning DateTime instance

git-subtree-dir: inc/vendor/Faker
git-subtree-split: c6533b0a70d2236cf1f7ce21bfaa3cd12e287019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants