Passing a function through the PEAR Auth class
Posted on 2004-08-25
I’m building a user authentication class (IdAuth) that is using PEAR’s Auth class inside of it.
In IdAuth’s constructor – I set up an instance of the PEAR Auth class. Now in the constructor for the PEAR Auth class, you can pass it a function name that it will use to display a custom log in window instead of the default one. My problem is that I can’t figure out how to pass the function through the PEAR Auth class.
Does anyone have any ideas?