SegmentationServiceInterface
SegmentationServiceInterface.php
:
19
Interface
Methods¶
assignUserToSegment()
¶
SegmentationServiceInterface.php
:
75
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$user | User | - | - |
$segment | Segment | - | - |
createSegment()
¶
SegmentationServiceInterface.php
:
28
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$createStruct | SegmentCreateStruct | - | - |
Return values
Segment
createSegmentGroup()
¶
SegmentationServiceInterface.php
:
49
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$createStruct | SegmentGroupCreateStruct | - | - |
Return values
SegmentGroup
isUserAssignedToSegment()
¶
SegmentationServiceInterface.php
:
73
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$user | User | - | - |
$segment | Segment | - | - |
Return values
bool
loadSegment()
¶
SegmentationServiceInterface.php
:
24
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$segmentId | int | - | - |
Return values
Segment
Tags
loadSegmentByIdentifier()
¶
SegmentationServiceInterface.php
:
26
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$identifier | string | - | - |
Return values
Segment
loadSegmentGroup()
¶
SegmentationServiceInterface.php
:
45
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$segmentGroupId | int | - | - |
Return values
SegmentGroup
Tags
loadSegmentGroupByIdentifier()
¶
SegmentationServiceInterface.php
:
47
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$identifier | string | - | - |
Return values
SegmentGroup
loadSegmentGroups()
¶
SegmentationServiceInterface.php
:
61
|
|
Return values
array<string|int, SegmentGroup>
loadSegmentsAssignedToCurrentUser()
¶
SegmentationServiceInterface.php
:
71
|
|
Return values
array<string|int, Segment>
loadSegmentsAssignedToGroup()
¶
SegmentationServiceInterface.php
:
40
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$segmentGroup | SegmentGroup | - | - |
Return values
array<string|int, Segment>
loadSegmentsAssignedToUser()
¶
SegmentationServiceInterface.php
:
66
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$user | User | - | - |
Return values
array<string|int, Segment>
removeSegment()
¶
SegmentationServiceInterface.php
:
35
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$segment | Segment | - | - |
removeSegmentGroup()
¶
SegmentationServiceInterface.php
:
56
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$segmentGroup | SegmentGroup | - | - |
unassignUserFromSegment()
¶
SegmentationServiceInterface.php
:
77
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$user | User | - | - |
$segment | Segment | - | - |
updateSegment()
¶
SegmentationServiceInterface.php
:
33
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$segment | Segment | - | - |
$updateStruct | SegmentUpdateStruct | - | - |
Return values
Segment
updateSegmentGroup()
¶
SegmentationServiceInterface.php
:
54
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$segmentGroup | SegmentGroup | - | - |
$updateStruct | SegmentGroupUpdateStruct | - | - |
Return values
SegmentGroup