My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 74: LightOpenID magic properties do not work with Twig template engine due to lack of __isset
1 person starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


 
Reported by mnbaya...@gmail.com, Sep 28, 2013
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".

Powered by Google Project Hosting