/** * @return array */ function &GetAccounts() { if (!$this->accounts) { $this->accounts =& $this->db->SelectAccounts($this->account->IdUser); } return $this->accounts; }