public function __construct($options = null) { $oModelUser = new Admin_Model_User(); $oChatUserRecipients = $oModelUser->findAskRecipients(); if (isset($oChatUserRecipients)) { foreach ($oChatUserRecipients as $oRow) { $this->_aChatUserRecipients[$oRow->id] = trim($oRow->first_name . " " . $oRow->last_name); } } $oOnlineChatUserRecipients = $oModelUser->findAskOnline(); if (isset($oOnlineChatUserRecipients)) { foreach ($oOnlineChatUserRecipients as $oRow) { $this->_aOnlineChatUserRecipients[$oRow->id] = $oRow->id; } } parent::__construct($options); }