Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LightOpenID magic properties do not work with Twig template engine due to lack of __isset #74

Open
GoogleCodeExporter opened this issue Jul 6, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

Adding the following method to the LightOpenID class will make it work with 
Twig (http://twig.sensiolabs.org/):

    function __isset($name) {
        return in_array($name, array('identity', 'trustRoot', 'realm', 'mode'));
    }

Otherwise it throws errors about "Method "mode" for object "LightOpenID" does 
not exist".

Original issue reported on code.google.com by [email protected] on 28 Sep 2013 at 8:51

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant