-
Notifications
You must be signed in to change notification settings - Fork 0
Class ZugferdMailPlaceholderHelper
HorstOeko edited this page Dec 21, 2024
·
6 revisions
Class representing placeholder parser
Factory, init mapping table from an array
public static function fromArray(array $arr): \ZugferdMailPlaceholderHelper
{
}
Name | Type | Allows Null | Description |
---|---|---|---|
arr | array | ❌ |
Returns a value of type \ZugferdMailPlaceholderHelper
Factory, init mapping table from ZugferdDocumentReader instance
public static function fromZugferdDocumentReader(
horstoeko\zugferd\ZugferdDocumentReader $document,
): \ZugferdMailPlaceholderHelper
{
}
Name | Type | Allows Null | Description |
---|---|---|---|
document | horstoeko\zugferd\ZugferdDocumentReader | ❌ |
Returns a value of type \ZugferdMailPlaceholderHelper
Add a placeholder with it's value to internal mapping table
public function addPlaceholder(string $placeholderName, mixed $placeHolderValue): \ZugferdMailPlaceholderHelper
{
}
Name | Type | Allows Null | Description |
---|---|---|---|
placeholderName | string | ❌ | |
placeHolderValue | mixed | ❌ |
Returns a value of type \ZugferdMailPlaceholderHelper
Parses placeholders in $subject by the internal mapping table
public function parseString(string $subject): string
{
}
Name | Type | Allows Null | Description |
---|---|---|---|
subject | string | ❌ |
Returns a value of type string
(c) HorstOeko 2024..