Returns rdfa VAT

@return bool
778155
public function getRdfaPriceValidity()
    {
        $iDays = \OxidEsales\Eshop\Core\Registry::getConfig()->getConfigParam('iRDFaPriceValidity');
        $iFrom = \OxidEsales\Eshop\Core\Registry::getUtilsDate()->getTime();
        $iThrough = $iFrom + ($iDays * 24 * 60 * 60);
        $oPriceValidity = [];
        $oPriceValidity['validfrom'] = date('Y-m-d\TH:i:s', $iFrom) . "Z";
        $oPriceValidity['validthrough'] = date('Y-m-d\TH:i:s', $iThrough) . "Z";

        return $oPriceValidity;
    }
778803
public function getAssetsUrl()
    {
        if (isset($this->_assetsUrl)) {
            return $this->_assetsUrl;
        } else {
            $forceCopyAssets = $this->getApi()->forceCopyAssets;
            $path = Yii::getPathOfAlias('yiiwheels');
            $assetsUrl = Yii::app()->assetManager->publish(
                $path . DIRECTORY_SEPARATOR . 'assets',
                false,
                -1,
                $forceCopyAssets
            );

            return $this->_assetsUrl = $assetsUrl;
        }
    }
1074895
final public function hasUTF()
    {
        $verParts = explode('.', $this->getVersion());
        return ($verParts[0] == 5 || ($verParts[0] == 4 && $verParts[1] == 1 && (int)$verParts[2] >= 2));
    }
878494
public function getTariff()
    {
        if ($this->app->user->isGuest) {
            $seller = $this->app->user->seller;
            $client_id = null;
        } else {
            $seller = $this->app->user->identity->seller;
            $client_id = $this->app->user->id;
        }

        return $this->app->get('cache')->getOrSet([__METHOD__, $seller, $client_id], function () use ($seller, $client_id) {
            $res = Tariff::find()
                ->action('get-available-info')
                ->joinWith('resources')
                ->andFilterWhere(['type' => 'domain'])
                ->andFilterWhere(['seller' => $seller])
                ->andWhere(['with_resources' => true])
                ->all();

            if (is_array($res) && !empty($res)) {
                return reset($res);
            }

            return null;
        }, 3600);
    }
1290740
protected function getVatBreakDownMinRate()
    {
        $result = array(Tag::VatRate => PHP_INT_MAX);
        foreach ($this->vatBreakdown as $breakDown) {
            if ($breakDown[Tag::VatRate] < $result[Tag::VatRate]) {
                $result = $breakDown;
            }
        }
        return $result;
    }
1304249
public function getCaf()
    {
        if (!$this->xml) {
            return false;
        }
        $CAF = $this->xml->getElementsByTagName('CAF')->item(0);
        return $CAF ? $CAF : false;
    }
1241097
public function GetQueryRestrictionForActiveFilter()
    {
        $sQuery = '';
        $sValue = $this->GetActiveValue();
        if ('1' == $sValue) {
            $sQuery = '`shop_article`.`price_reference` > 0 AND `shop_article`.`price_reference` != `shop_article`.`price` ';
        } elseif ('0' == $sValue) {
            $sQuery = '`shop_article`.`price_reference` = 0 OR `shop_article`.`price_reference` = `shop_article`.`price` ';
        }

        return $sQuery;
    }
695783
public function getValue()
    {
        $value = parent::getValue();
        
        if ($value) {
            $image = Yii::$app->storage->getImage($value);
            /* @var $image \luya\admin\image\Item */
            if ($image) {
                if ($this->filterName()) {
                    return $image->applyFilter($this->filterName())->sourceAbsolute;
                }
                return $image->source;
            }
        }
        
        return false;
    }
617273
public function getVatValue()
    {
        if ($this->isNettoMode()) {
            $dVatValue = $this->getNettoPrice() * $this->getVat() / 100;
        } else {
            $dVatValue = $this->getBruttoPrice() * $this->getVat() / (100 + $this->getVat());
        }

        return \OxidEsales\Eshop\Core\Registry::getUtils()->fRound($dVatValue);
    }
1215184
public function getDotEnvData()
	{
		$fileData = array_filter( explode( "\n", file_get_contents( base_path( '.env' ) ) ) );
		$data = [];
		foreach( $fileData as $keyValuePair ) {
			$split = explode( '=', $keyValuePair, 2 );
			$data[trim($split[0])] = trim($split[1]);
		}
		return $data;
	}
159302
public function GetSQL()
    {
        /**
         * @var array $aNewValues
         */
        $aNewValues = $this->getInputFilterUtil()->getFilteredInput($this->name.'_new');

        if (!is_array($this->data)) {
            $this->data = array();
        } elseif (array_key_exists('x', $this->data)) {
            unset($this->data['x']);
        }

        $oEditorObjectConf = TdbCmsTblConf::GetNewInstance();
        $oEditorObjectConf->LoadFromField('name', 'shop_variant_type_value');

        if (!is_array($aNewValues)) {
            return false;
        }

        foreach ($aNewValues as $sShopVariantTypeId => $sNewValueName) {
            $sNewValueName = trim($sNewValueName);
            if (!empty($sNewValueName)) {
                // first make sure the value does not exist already
                $oValue = TdbShopVariantTypeValue::GetNewInstance();
                if ($oValue->LoadFromFields(
                    array('name' => $sNewValueName, 'shop_variant_type_id' => $sShopVariantTypeId)
                )
                ) {
                    $this->data[$sShopVariantTypeId] = $oValue->id;
                } else {
                    // need to create entry
                    $aNewItemData = array(
                        'shop_variant_type_id' => $sShopVariantTypeId,
                        'name' => $sNewValueName,
                        'url_name' => $this->getUrlNormalizationUtil()->normalizeUrl($sNewValueName),
                    );
                    $oTableManager = new TCMSTableEditorManager();
                    $oTableManager->Init($oEditorObjectConf->id);
                    $oTableManager->Save($aNewItemData);
                    $this->data[$sShopVariantTypeId] = $oTableManager->sId;
                }
            }
        }

        // now save connecting records.... we can use the parent method
        return parent::GetSQL();
    }
685977
public function isProperty()
    {
        $returnValue = (bool) false;
        foreach($this->getTypes() as $type){
        	if($type->getUri() == OntologyRdf::RDF_PROPERTY){
        		$returnValue = true;
        		break;
        	}
        }
        return (bool) $returnValue;
    }
818604
public function getDigest()
    {
        return isset($this->arreglo[$this->config['tipos'][$this->tipo]]['Signature']['SignedInfo']['Reference']['DigestValue']) ? $this->arreglo[$this->config['tipos'][$this->tipo]]['Signature']['SignedInfo']['Reference']['DigestValue'] : false;
    }
1287680
public function getAssetPath()
    {
        $url_frags = parse_url($_SERVER['REQUEST_URI']);
        if (!array_key_exists('query', $url_frags)) return false;
        parse_str($url_frags['query'], $query_vars);
        if (!array_key_exists('asset', $query_vars)) return false;
        $folder_name = self::getAssetFolderName($query_vars['asset']);
        $file_name = sprintf(
            $this->actual_path.'/assets/%s/%s',
            $folder_name,
            $query_vars['asset']
        );
        
        if (file_exists($file_name)) {
           return $file_name;
        }
        return $false;
    }
24010
public function getMetadata()
    {
        try {
            $path = $this->getPrefix();
            if ($this->getFileSystem()->has($path)) {
                return $this->getFileSystem()->get($path)->getMetadata();
            }

        } catch (FileNotFoundException $e) {
        }
        return false;
    }
558740
public function actualizarObjetoLdap(){
        if ($this->existe) {
            $dn = $this->entrada['dn'];
            $cambios = array();
            foreach ($this->cambios as $atributos) {
                $cambios[$atributos] = $this->entrada[$atributos];
            }
            return $this->modificarEntradaLdap($dn, $cambios);
        }else{
            $this->configurarErrorLdap('Actualizacion', 'Esa entrada no existe');
            return false;
        }
    }
1307049
public function getData()
    {
        $properties = $this->formProperties;

        foreach ($properties as $index => $property) {
            if ($this->doesExist() && $property['uri'] == 'http://www.tao.lu/Ontologies/generis.rdf#login') {
                $properties[$index]['widget'] = 'http://www.tao.lu/datatypes/WidgetDefinitions.rdf#Readonly';
                break;
            }
        }

        if ($this->doesExist()) {
            foreach ($properties as $key => $property) {
                if ($property['uri'] == GenerisRdf::PROPERTY_USER_PASSWORD && isset($property['value'])) {
                    $properties[$key]['value'] = '';
                    break;
                }
            }
        }

        return [
            self::PROPERTIES => $properties,
            self::RANGES => $this->ranges,
        ];
    }