public function getDeliveryThemeIdFromDb($deliveryId)
    {
        try {
            $delivery = new core_kernel_classes_Resource($deliveryId);
            $property = $delivery->getProperty(static::DELIVERY_THEME_ID_URI);

            return (string)$delivery->getOnePropertyValue($property);
        } catch (common_exception_Error $e) {
            return '';
        }
    }
public function getDeliveryThemeIdFromDb($deliveryId)
    {
        try {
            $delivery = new core_kernel_classes_Resource($deliveryId);
            $property = $delivery->getProperty(static::DELIVERY_THEME_ID_URI);

            return (string)$delivery->getOnePropertyValue($property);
        } catch (common_exception_Error $e) {
            return '';
        }
    }
public function getDeliveryThemeIdFromDb ( $ deliveryId ) { try { $ delivery = new core_kernel_classes_Resource ( $ deliveryId ) ; $ property = $ delivery -> getProperty ( static :: DELIVERY_THEME_ID_URI ) ; return ( string ) $ delivery -> getOnePropertyValue ( $ property ) ; } catch ( common_exception_Error $ e ) { return '' ; } }
Returns delivery theme id from database.

@param $deliveryId

@return string
Returns delivery theme id from database .