Service
in package
Description of Service
Tags
Table of Contents
Constants
- SUGGESTTYPE_ENTITY = 'entity'
- SUGGESTTYPE_PROPERTY = 'property'
- SUGGESTTYPE_TYPE = 'type'
Properties
Methods
- __construct() : mixed
- handleRequest() : void
- handleCors() : void
- handleDataExtensionQuery() : object
- handleManifest() : object
- handlePreview() : void
- handlePropertyProposal() : object
- handleReconcile() : object
- handleSuggest() : array<int, mixed>
- handleSuggestEntity() : array<int, mixed>
- handleSuggestType() : array<int, mixed>
Constants
SUGGESTTYPE_ENTITY
public
mixed
SUGGESTTYPE_ENTITY
= 'entity'
SUGGESTTYPE_PROPERTY
public
mixed
SUGGESTTYPE_PROPERTY
= 'property'
SUGGESTTYPE_TYPE
public
mixed
SUGGESTTYPE_TYPE
= 'type'
Properties
$cfg
private
object
$cfg
$pdo
private
PDO
$pdo
Methods
__construct()
public
__construct(object $config) : mixed
Parameters
- $config : object
handleRequest()
public
handleRequest() : void
Tags
handleCors()
private
handleCors() : void
handleDataExtensionQuery()
private
handleDataExtensionQuery(array<string|int, mixed> $ids, array<string|int, mixed> $properties) : object
Parameters
- $ids : array<string|int, mixed>
- $properties : array<string|int, mixed>
Return values
objecthandleManifest()
private
handleManifest() : object
Return values
objecthandlePreview()
private
handlePreview() : void
handlePropertyProposal()
private
handlePropertyProposal() : object
Return values
objecthandleReconcile()
private
handleReconcile() : object
Tags
Return values
objecthandleSuggest()
private
handleSuggest(string $type) : array<int, mixed>
Parameters
- $type : string
Tags
Return values
array<int, mixed>handleSuggestEntity()
private
handleSuggestEntity(string $prefix, int $cursor) : array<int, mixed>
Parameters
- $prefix : string
- $cursor : int
Return values
array<int, mixed>handleSuggestType()
private
handleSuggestType(string $prefix, int $cursor) : array<int, mixed>
Parameters
- $prefix : string
- $cursor : int