DateBasedPublishServiceInterface
DateBasedPublishServiceInterface.php
:
15
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
countUserScheduledVersions() ¶
DateBasedPublishServiceInterface.php
:
60
|
|
Return values
int
countVersionsEntriesForContent() ¶
DateBasedPublishServiceInterface.php
:
62
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$contentId | int | - | - |
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>
getScheduledPublish() ¶
DateBasedPublishServiceInterface.php
:
43
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$versionId | int | - | - |
Return values
Tags
getScheduledVersions() ¶
DateBasedPublishServiceInterface.php
:
48
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$page | int | 0 | - |
$limit | int | 25 | - |
Return values
array<string|int, ScheduledEntry>
getUserScheduledVersions() ¶
DateBasedPublishServiceInterface.php
:
53
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$page | int | - | - |
$limit | int | - | - |
Return values
array<string|int, ScheduledEntry>
getVersionsEntriesForContent() ¶
DateBasedPublishServiceInterface.php
:
58
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$contentId | int | - | - |
$page | int | 0 | - |
$limit | int | 25 | - |
Return values
array<string|int, ScheduledEntry>
isScheduledPublish() ¶
DateBasedPublishServiceInterface.php
:
27
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$versionId | int | - | - |
Return values
bool
schedulePublish() ¶
DateBasedPublishServiceInterface.php
:
23
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$versionInfo | VersionInfo | - | - |
$when | DateTimeInterface | - | - |
Return values
unschedulePublish() ¶
DateBasedPublishServiceInterface.php
:
25
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$versionId | int | - | - |
Return values
bool
updateScheduledPublish() ¶
DateBasedPublishServiceInterface.php
:
35
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$scheduledEntry | ScheduledEntry | - | - |
$when | DateTimeInterface | - | - |