irm/include/User.php
/** Constructor.
     * Sets up the User object by loading from the DB if a username is
     * given.
     */
Constructor.
Sets up the User object by loading from the DB if a username is
given.
Constructor . Sets up the User object by loading from the DB if a username is given .
function User($name = "")
    {
        if($name != "")
        {
            $this->setName($name);
            if(Config::UseLDAP()){
                $this->ldapAddUser($name);
            }
            $this->retrieve();
        }
    }
function User ( $ name = " " ) { if ( $ name != " " ) { $ this -> setName ( $ name ) ; if ( Config :: UseLDAP ( ) ) { $ this -> ldapAddUser ( $ name ) ; } $ this -> retrieve ( ) ; } }
Constructor.
Constructor .