/** * @return array */ function CountAllMailboxSizes() { $mailBoxSizes = array(); if ($this->_connector->Execute($this->_commandCreator->CountAllMailboxSizes())) { while (($row = $this->_connector->GetNextRecord()) != false) { $mailBoxSizes[$row->id_user] = $row->mailboxes_size; } } return $mailBoxSizes; }