Feature #1035
Get rid of redundant parameters of iaField::getAllFields method
Start date:
October 17, 2013
Due date:
% Done:
100%
Estimated time:
Description
All of the packages use this method with the following first parameters:
iaField::getAllFields(true, null, ...);
Will be good to remove the first two of them.
History
Updated by Vasily Bezruchkin about 7 years ago
- Assignee set to Batyr Mackenov
- Priority changed from Normal to Immediate
Updated by Vasily Bezruchkin about 7 years ago
Use the bridge for released packages cross compatibility:
1. Create a new method with correct params, getFieldsList or anything like that
2. Keep this getAllFields as is but call the new method inside
3. Use the new method in the upcoming packages: Autos, Real Estate, Coupons, Yellow Pages.
Updated by Batyr Mackenov about 7 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Method renamed to getByItemName, unused parameters removed.
In order to save a compatibility, kept the old-named method that internally refers to the new one.
commit:3ba3bc9