Passing a function through the PEAR Auth class

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?
brendanwovAsked:
Who is Participating?
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.