PlaceholderManager
Table of Contents
Methods
-
createOrUpdate()
: Result
-
delete()
: Result
-
getPlaceholders()
: array<string|int, mixed>
createOrUpdate()
public
createOrUpdate(int $templateId, string $placeholderId, string|null $fieldName, string|null $fieldValue, string|null $entityType, PlaceholderContext $context) : Result
Parameters
-
$templateId
: int
-
-
$placeholderId
: string
-
-
$fieldName
: string|null
-
-
$fieldValue
: string|null
-
-
$entityType
: string|null
-
-
$context
: PlaceholderContext
-
delete()
public
delete(int $templateId, string $placeholderId, PlaceholderContext $context) : Result
Parameters
-
$templateId
: int
-
-
$placeholderId
: string
-
-
$context
: PlaceholderContext
-
getPlaceholders()
public
getPlaceholders(array<string|int, mixed> $templateIds, PlaceholderContext $context) : array<string|int, mixed>
Parameters
-
$templateIds
: array<string|int, mixed>
-
-
$context
: PlaceholderContext
-
Return values
array<string|int, mixed>