/** * @param int $idGroup * @return string */ function SelectAddressGroupName($idGroup) { $groupName = ''; if ($this->_dbConnection->Execute($this->_commandCreator->SelectAddressGroupName($idGroup))) { while (false !== ($row = $this->_dbConnection->GetNextRecord())) { $groupName = $row->group_nm; } } return $groupName; }