Okay, I'm working on a standard MOD Database install script, and I'm having a few logic issues...
I'm using a copy of the Blinky install method (install_mod.php) and right now I'm editing that to suit my needs. Currently, I am importing a file that holds the install configuration for a MOD that is to be installed within the function 'main'.
I need to know if within other functions within the class whether the contents of the mod configuration file is included, and how to get to it.
Within the config file, I have some arrays. One of which is $mod_config.
How do I call this array in another function? Is it $this->mod_config, or something else?
Classes & functions & includes, oh my!
- igorw
- Past Contributor
- Posts: 1967
- Joined: 01 Jun 2006, 20:48
- Real name: Igor [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: Classes & functions & includes, oh my!
- we're poor!
Re: Classes & functions & includes, oh my!
Ohhhkay then, that clears things up. Thanks evil!
Return to “phpBB Development discussion”
Who is online
Users browsing this forum: No registered users and 20 guests