I'm a relative newbie at PHP and OOP in general, and I have a questions relating to them.
I have two php files in different folders, in an OOP structured framework. This is the folder structure with their real names:
file1:
garratt/modules/garrattcustom/classes/garrattcustom_module.php
file2a:
garratt/themes/la_boutique_lite/pages/page_pay.php
File 2b:
garratt/themes/la_boutique_lite/pages/page_delayed_payment.php
file1 (garrattcustom_module.php)
contains variables which is getting passed to file2a (page_pay.php)
, and I can use them there (I checked using isset() that they exist in that file). However in file2b (page_delayed_payment.php)
which is in the same directory isn't getting those variables. Neither of file2a and file2b have codes that seem to get variable from file1 (like sessions or includes). How is file1 getting the variables across to file2a? I would post file1's contents but it's about 600 lines long. Does anyone have any idea what might be going on, and suggestion on what kind of code I should look for in file1 that might be doing it?
For those of you who know of it, I'm using Lemonstand eCommerce framework.
Thank you