I have a class for the user details.
I want to call for example UserDetails::$email from my application, but it's empty becuase it does not execute the constructor. How should I solve this?

```
<?php

class UserDetails {

    public static $email;
    private $password;
    public static $role;
    public static $active;

    public function __construct() {
        $auth = Zend_Auth::getInstance();
        if ($auth->hasIdentity()) {
            $this->email = $auth->getIdentity()->email;
            $this->password = $auth->getIdentity()->password;
            $this->role = $auth->getIdentity()->role;
            $this->active = $auth->getIdentity()->active;
        }
    }

}

```