%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/bbw/farmaci/kritik-portale/module/ReviewBase/src/ReviewBase/Traits/
Upload File :
Create Path :
Current File : /var/www/html/bbw/farmaci/kritik-portale/module/ReviewBase/src/ReviewBase/Traits/ServicesTrait.php

<?php

/**
 * InternetAddressTrait
 *
 * @author Florian Koller ( conlabz GmbH ) <florian.koller at conlabz.de>
 */

namespace ReviewBase\Traits;

trait ServicesTrait {
    
    protected function processService($key, $serviceValue)
    {
        if (isset($this->config['service_list'][$key]) && $this->config['service_list'][$key])
        {
            return $serviceValue;
        }
        else
        {
            return 0;
        }
    }

    public function setServiceList($serviceList)
    {
        foreach($serviceList as $key => $value){
            if(!$this->processService($value, 1)){
                unset($serviceList[$key]);
            }
        }
        return $serviceList;
    }

    public function getServiceList($serviceList)
    {
        foreach($serviceList as $key => $value){
            if(!$this->processService($value, 1)){
                unset($serviceList[$key]);
            }
        }
        return $serviceList;
    }
  
    public function setDeliveryService($delivery_service)
    {
        return $this->processService('delivery_service', $delivery_service);
        
    }
    
    public function getDeliveryService($delivery_service)
    {
        return $this->processService('delivery_service', $delivery_service);
    }
    
    public function setCosmetics($cosmetics)
    {
       return $this->processService('cosmetics', $cosmetics);
    }
    
    public function getCosmetics($cosmetics)
    {
        return $this->processService('cosmetics', $cosmetics);
    }
    
    public function setEquipmentRental($equipment_rental)
    {
       return $this->processService('equipment_rental', $equipment_rental);
    }
    
    public function getEquipmentRental($equipment_rental)
    {
        return $this->processService('equipment_rental', $equipment_rental);
    }
    
    public function setParking($parking)
    {
       return $this->processService('parking', $parking);
    }
    
    public function getParking($parking)
    {
        return $this->processService('parking', $parking);
    }
    
    public function setBloodpressureCheck($bloodpressure_check)
    {
       return $this->processService('bloodpressure_check', $bloodpressure_check);
    }
    
    public function getBloodpressureCheck($bloodpressure_check)
    {
        return $this->processService('bloodpressure_check', $bloodpressure_check);
    }
    
    public function setHomoeopathy($homoeopathy)
    {
       return $this->processService('homoeopathy', $homoeopathy);
    }
    
    public function getHomoeopathy($homoeopathy)
    {
        return $this->processService('homoeopathy', $homoeopathy);
    }
    
    public function setBarrierFree($barrier_free)
    {
       return $this->processService('barrier_free', $barrier_free);
    }
    
    public function getBarrierFree($barrier_free)
    {
        return $this->processService('barrier_free', $barrier_free);
    }
    
    public function setRentalPump($rental_pump)
    {
       return $this->processService('rental_pump', $rental_pump);
    }
    
    public function getRentalPump($rental_pump)
    {
        return $this->processService('rental_pump', $rental_pump);
    }
    
    public function setRentalInhalator($rental_inhalator)
    {
       return $this->processService('rental_inhalator', $rental_inhalator);
    }
    
    public function getRentalInhalator($rental_inhalator)
    {
        return $this->processService('rental_inhalator', $rental_inhalator);
    }
    
    public function setDiabetes($diabetes)
    {
       return $this->processService('diabetes', $diabetes);
    }
    
    public function getDiabetes($diabetes)
    {
        return $this->processService('diabetes', $diabetes);
    }
    
    public function setAromatherapy($aromatherapy)
    {
       return $this->processService('aromatherapy', $aromatherapy);
    }
    
    public function getAromatherapy($aromatherapy)
    {
        return $this->processService('aromatherapy', $aromatherapy);
    }
    
    public function setFamily($family)
    {
       return $this->processService('family', $family);
    }
    
    public function getFamily($family)
    {
        return $this->processService('family', $family);
    }
    
    public function setAnimalHealth($animalhealth)
    {
       return $this->processService('animalhealth', $animalhealth);
    }
    
    public function getAnimalHealth($animalhealth)
    {
        return $this->processService('animalhealth', $animalhealth);
    }
    
    public function setPhytotherapy($phytotherapy)
    {
       return $this->processService('phytotherapy', $phytotherapy);
    }
    
    public function getPhytotherapy($phytotherapy)
    {
        return $this->processService('phytotherapy', $phytotherapy);
    }
    
    public function setDriveInCounter($drive_in_counter)
    {
       return $this->processService('drive_in_counter', $drive_in_counter);
    }
    
    public function getDriveInCounter($drive_in_counter)
    {
        return $this->processService('drive_in_counter', $drive_in_counter);
    }
    
    public function setChineseMedicine($chinese_medicine)
    {
       return $this->processService('chinese_medicine', $chinese_medicine);
    }
    
    public function getChineseMedicine($chinese_medicine)
    {
        return $this->processService('chinese_medicine', $chinese_medicine);
    }
    
    public function setQMS($qms)
    {
       return $this->processService('qms', $qms);
    }
    
    public function getQMS($qms)
    {
        return $this->processService('qms', $qms);
    }
}

Zerion Mini Shell 1.0