[eluser]Dermot B[/eluser]
Thanks so much Colin, that is exactly what I have been looking for. I looked in the user guide and couldn't find that. You have been a great help.
I appreciate it.
Dermot
[quote author="Colin Williams" date="1247476249"]The constructor is passed the config array.
Code:
class Custom_class {
function Custom_class($config = array())
{
// $config array in config/custom_class.php is passed as argument
}
}
[/quote]