Totally Zenned
- Join Date:
- Jun 2007
- Location:
- Bronx, New York, United States
- Posts:
- 949
- Plugin Contributions:
- 3
Calling the results of other classes in another class file.
Hey this goes back to the other question I have about using local sales tax mod with reward points... but since this is a general programming question, figured I'd ask here.
How do I call a $this->output[] value from one class file in the class file of another?
Example:
The $this->output[] holds the result of the calculation of one module file (ot_reward_points_discount.php). I want to call that $this->output[] into ot_local_sales_taxes.php.
But I don't know how to get started with the calls. I tried to call it through the class directly but I get the whitepages. Anyone know how should I get started with this?