DateBasedHideServiceInterface
DateBasedHideServiceInterface.php
:
14
Extends
DateBasedEntriesListInterface
Methods¶
countScheduledEntries() ¶
DateBasedEntriesListInterface.php
:
48
|
|
Return values
int
countScheduledEntriesInDateRange() ¶
DateBasedEntriesListInterface.php
:
62
Return number of scheduled entries for given date range with optional skipping entries to the given $sinceId.
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$start | DateTimeInterface | - | - |
$end | DateTimeInterface | - | - |
$languages | array<string|int, Language> | [] | - |
$sinceId | int|null | null | - |
Return values
int
countScheduledEntriesToProcess() ¶
DateBasedEntriesListInterface.php
:
50
|
|
Return values
int
getScheduledEntriesByIds() ¶
DateBasedEntriesListInterface.php
:
20
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$scheduledEntriesIds | array<string|int, int> | - | - |
Return values
array<string|int, ScheduledEntry>
getScheduledEntriesInDateRange() ¶
DateBasedEntriesListInterface.php
:
40
Return scheduled entries for given date range with optional skipping entries to the given $sinceId.
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$start | DateTimeInterface | - | - |
$end | DateTimeInterface | - | - |
$languages | array<string|int, Language> | [] | - |
$sinceId | int|null | null | - |
$limit | int | 25 | - |
Return values
array<string|int, ScheduledEntry>
getScheduledEntriesToProcess() ¶
DateBasedEntriesListInterface.php
:
27
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$limit | int | 25 | - |
Return values
array<string|int, ScheduledEntry>
getScheduledHide() ¶
DateBasedHideServiceInterface.php
:
42
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$contentId | int | - | - |
Return values
Tags
isScheduledHide() ¶
DateBasedHideServiceInterface.php
:
26
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$contentId | int | - | - |
Return values
bool
scheduleHide() ¶
DateBasedHideServiceInterface.php
:
22
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$contentId | int | - | - |
$when | DateTimeInterface | - | - |
Return values
unscheduleHide() ¶
DateBasedHideServiceInterface.php
:
24
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$contentId | int | - | - |
Return values
bool
updateScheduledHide() ¶
DateBasedHideServiceInterface.php
:
34
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$scheduledEntry | ScheduledEntry | - | - |
$when | DateTimeInterface | - | - |