GenieGate, Version 1.1.0 (PHP 5) manual

GenieGate_Api_User constructor

protected GenieGate_Api_User __construct( &$login GenieGate_Api_login ,
                                          $info array );
[Important] Important

Don't create GenieGate_Api_User objects yourself unless you have good reason (such as inheriting from this class). You should be using the login() and passiveLogin() methods described in Chapter 2, GenieGate_Api_Login

Generic Constructor.

In general, you should use GenieGate_Api_Login::login() instead of this constructor. It is marked "protected" here because that is how it is intended to be used.