Andrz2556 Posted August 14, 2023 Share Posted August 14, 2023 (edited) Hello, I`m new at Prestashop, saw this function Tools::getValue('id_category'); and have a question about where this function has this data, like from what the storage where this data is saved. Edited August 17, 2023 by Andrz2556 (see edit history) Link to comment Share on other sites More sharing options...
JBW Posted August 14, 2023 Share Posted August 14, 2023 It's reading GET / POST data Link to comment Share on other sites More sharing options...
Andrz2556 Posted August 14, 2023 Author Share Posted August 14, 2023 I understand it, but from what it gets this data? Link to comment Share on other sites More sharing options...
JBW Posted August 14, 2023 Share Posted August 14, 2023 Standard PHP get/post super globals Link to comment Share on other sites More sharing options...
coeos.pro Posted August 14, 2023 Share Posted August 14, 2023 https://github.com/PrestaShop/PrestaShop/blob/develop/classes/Tools.php#L453 Link to comment Share on other sites More sharing options...
Andrz2556 Posted August 15, 2023 Author Share Posted August 15, 2023 Thank you people for answers! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now