This is Raiwa's list, but there are still a lot not listed there.
https://docs.google.com/spreadsheets/d/ ... edit#gid=0
Example: tep_get_country_list
Thanks
Where do you find the replacement functions for deprecated ones?
-
gsmiley007
- Member
- Posts: 82
- Joined: Sun Mar 14, 2021 9:28 pm
- Phoenix Version:
- Has thanked: 9 times
- Been thanked: 2 times
-
ecartz
- Core Team
- Posts: 3084
- Joined: Tue Nov 05, 2019 6:02 pm
- Phoenix Version:
- Has thanked: 4 times
- Been thanked: 208 times
Re: Where do you find the replacement functions for deprecated ones?
Start at GitHub and do a search for the function name in that repository. That takes you to the search results page. On that page, you should be able to see the Click in to see it in the file. There you can see that the very next line is Often, but not in this case, you will then be able to click on the replacement (draw_menu here) and it will show you places where it is used. You can then use Blame to find when the change was made and see what changed.
Code: Select all
trigger_error('The tep_get_country_list function has been deprecated.', E_USER_DEPRECATED);Code: Select all
return Country::draw_menu($name, $selected, phoenix_normalize($parameters));-
raiwa
- Certified Developer
- Posts: 1640
- Joined: Sat Dec 21, 2019 8:08 am
- Phoenix Version: 1.1.0.6
- : Buy Me A Beverage
- Has thanked: 70 times
- Been thanked: 152 times
Re: Where do you find the replacement functions for deprecated ones?
… and add the missing function to the cheat set.
Don’t forget to add your user name.
Public Phoenix Change Log Cheat Set on Google Sheets
https://docs.google.com/spreadsheets/d/ ... sp=sharing
Need Help?viewtopic.php?f=10&t=27
https://docs.google.com/spreadsheets/d/ ... sp=sharing
Need Help?viewtopic.php?f=10&t=27
-
gsmiley007
- Member
- Posts: 82
- Joined: Sun Mar 14, 2021 9:28 pm
- Phoenix Version:
- Has thanked: 9 times
- Been thanked: 2 times
- burt
- Core Team
- Posts: 4551
- Joined: Tue Oct 29, 2019 9:37 am
- Phoenix Version: v1.1.0.8
- : Buy Me A Beverage
- Has thanked: 252 times
- Been thanked: 412 times
Re: Where do you find the replacement functions for deprecated ones?
Modernisation of Codebase would be one of the main reasons.
I am not here to build for you.
I am here to build with you. Let's help each other.
I am here to build with you. Let's help each other.