Exemple #1
0
 /**
  * Looks up the singleton instance for this class and returns the
  * return value from _fetchEmails
  *
  * @param int $userId The id of the user to process the email-accounts for.
  * @param int $accountId The id of the account to fetch the emails for, or null
  * to query all accounts
  *
  * @return array
  */
 public static function fetchEmails($userId, Conjoon_Modules_Groupware_Email_Account $accountId)
 {
     if (!self::$_instance) {
         self::$_instance = new Conjoon_Modules_Groupware_Email_Letterman();
     }
     return self::$_instance->_fetchEmails($userId, $accountId);
 }