-
Notifications
You must be signed in to change notification settings - Fork 4
Class XmlConverterUblToCii
Class representing the converter from UBL syntax to CII syntax
Factory: Load from XML file
public static function fromFile(string $filename): static
{
}
Name | Type | Allows Null | Description |
---|---|---|---|
filename | string | ❌ |
Returns a value of type static
Factory: Load from XML stream
public static function fromString(string $xmlData): static
{
}
Name | Type | Allows Null | Description |
---|---|---|---|
xmlData | string | ❌ |
Returns a value of type static
Load source from XML string
public function loadFromXmlString(string $source): static
{
}
Name | Type | Allows Null | Description |
---|---|---|---|
source | string | ❌ |
Returns a value of type static
Load from XML file
public function loadFromXmlFile(string $filename): static
{
}
Name | Type | Allows Null | Description |
---|---|---|---|
filename | string | ❌ |
Returns a value of type static
Save converted XML to a string containing XML data
public function saveXmlString(): string
{
}
Returns a value of type string
Save converted XML to a file
public function saveXmlFile(string $filename): int|false
{
}
Name | Type | Allows Null | Description |
---|---|---|---|
filename | string | ❌ |
Returns a value of type int|false
Convert
public function convert(): static
{
}
Returns a value of type static
Returns true if the profiles $profileToCheck is a supported profile
public function isSupportedProfile(string $profileToCheck): bool
{
}
Name | Type | Allows Null | Description |
---|---|---|---|
profileToCheck | string | ❌ |
Returns a value of type bool
Returns the profile code to force
public function getForceDestinationProfile(): string
{
}
Returns a value of type string
Returns the profile code to force. If no profile to force is given the
$default value will be returned
public function getForceDestinationProfileWithDefault(string $defaultProfile): string
{
}
Name | Type | Allows Null | Description |
---|---|---|---|
defaultProfile | string | ❌ |
Returns a value of type string
Set the profile to force in the destination (UBL) document
public function setForceDestinationProfile(string $forceDestinationProfile): static
{
}
Name | Type | Allows Null | Description |
---|---|---|---|
forceDestinationProfile | string | ❌ |
Returns a value of type static
Unsert the profile to force in the destination (UBL) document
public function clearForceDestinationProfile(): static
{
}
Returns a value of type static
Force the MINIMUM profile
public function setForceDestinationProfileMinimum(): static
{
}
Returns a value of type static
Force the BASICWL profile
public function setForceDestinationProfileBasicWL(): static
{
}
Returns a value of type static
Force the BASIC profile
public function setForceDestinationProfileBasic(): static
{
}
Returns a value of type static
Force the COMFORT (EN16931) profile
public function setForceDestinationProfileEn16931(): static
{
}
Returns a value of type static
Force the EXTENDED profile
public function setForceDestinationProfileExtended(): static
{
}
Returns a value of type static
Force the XRECHNUNG 3.0 profile
public function setForceDestinationProfileXRechnung30(): static
{
}
Returns a value of type static
(c) HorstOeko 2024..