NotificationTarget::getItemGroupTechInChargeAddress PHP Метод

getItemGroupTechInChargeAddress() публичный Метод

Get Group of technicians in charge of the item
    function getItemGroupTechInChargeAddress()
    {
        if (!empty($this->target_object)) {
            foreach ($this->target_object as $val) {
                if ($val->fields['groups_id'] > 0) {
                    $this->getAddressesByGroup(0, $val->fields['groups_id']);
                }
            }
        }
    }