Search for offset
- Search 7.x for offset
- Search 9.5.x for offset
- Search 8.9.x for offset
- Search 10.3.x for offset
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
OffsetPage | class | core/ |
Value object for containing the requested offset and page parameters. |
OffsetPage.php | file | core/ |
|
OffsetPage::$offset | property | core/ |
The offset for the query. |
OffsetPage::$size | property | core/ |
The size of the query. |
OffsetPage::createFromQueryParameter | function | core/ |
Creates an OffsetPage object from a query parameter. |
OffsetPage::DEFAULT_OFFSET | constant | core/ |
Default offset. |
OffsetPage::getOffset | function | core/ |
Returns the current offset. |
OffsetPage::getSize | function | core/ |
Returns the page size. |
OffsetPage::KEY_NAME | constant | core/ |
The JSON:API pagination key name. |
OffsetPage::OFFSET_KEY | constant | core/ |
The offset key in the page parameter: page[offset]. |
OffsetPage::SIZE_KEY | constant | core/ |
The size key in the page parameter: page[limit]. |
OffsetPage::SIZE_MAX | constant | core/ |
Max size. |
OffsetPage::__construct | function | core/ |
Instantiates an OffsetPage object. |
OffsetPageTest | class | core/ |
@coversDefaultClass \Drupal\jsonapi\Query\OffsetPage @group jsonapi |
OffsetPageTest.php | file | core/ |
|
OffsetPageTest::parameterProvider | function | core/ |
Data provider for testCreateFromQueryParameter. |
OffsetPageTest::setUp | function | core/ |
|
OffsetPageTest::testCreateFromQueryParameter | function | core/ |
@covers ::createFromQueryParameter @dataProvider parameterProvider |
OffsetPageTest::testCreateFromQueryParameterFail | function | core/ |
@covers ::createFromQueryParameter |
PagerPluginBase::getOffset | function | core/ |
Get the page offset, or how many items to skip. |
PagerPluginBase::isOffsetExposed | function | core/ |
|
PagerPluginBase::setOffset | function | core/ |
Set the page offset, or how many items to skip. |
PagerPluginBaseTest::testExecuteCountQueryWithOffset | function | core/ |
Tests the executeCountQuery method with a set offset. |
PagerPluginBaseTest::testExecuteCountQueryWithOffsetLargerThanResult | function | core/ |
Tests the executeCountQuery method with an offset larger than result count. |
PagerPluginBaseTest::testExecuteCountQueryWithoutOffset | function | core/ |
Tests the executeCountQuery method without a set offset. |
PagerPluginBaseTest::testGetOffset | function | core/ |
Tests the getOffset() method. |
PagerPluginBaseTest::testSetOffset | function | core/ |
Tests the setOffset() method. |
PostgresqlDateSql::setFieldTimezoneOffset | function | core/ |
Applies the given offset to the given field. |
PostgresqlDateSql::setTimezoneOffset | function | core/ |
Set the database to the given timezone. |
PostgresqlDateSqlTest::testSetFieldTimezoneOffset | function | core/ |
Tests timezone offset formatting. |
PostgresqlDateSqlTest::testSetTimezoneOffset | function | core/ |
Tests setting the database offset. |
QueryPluginBase::$offset | property | core/ |
The OFFSET on the query. |
QueryPluginBase::getTimezoneOffset | function | core/ |
Get the timezone offset in seconds. |
QueryPluginBase::setFieldTimezoneOffset | function | core/ |
Applies a timezone offset to the given field. |
QueryPluginBase::setOffset | function | core/ |
Set an OFFSET on the query, specifying a number of results to skip. |
QueryTest::setFieldTimezoneOffset | function | core/ |
Applies a timezone offset to the given field. |
Sql::setFieldTimezoneOffset | function | core/ |
Applies a timezone offset to the given field. |
SqlBase::isOffsetExposed | function | core/ |
|
SqliteDateSql::setFieldTimezoneOffset | function | core/ |
Applies the given offset to the given field. |
SqliteDateSql::setTimezoneOffset | function | core/ |
Set the database to the given timezone. |
SqliteDateSqlTest::testSetFieldTimezoneOffset | function | core/ |
Tests timezone offset formatting. |
SqliteDateSqlTest::testSetTimezoneOffset | function | core/ |
Tests setting the database offset. |
SvgIconBuilder::getOffset | function | core/ |
Gets the offset for this region. |
TemporaryArrayObjectThrowingExceptions::offsetExists | function | core/ |
Returns whether the requested index exists. |
TemporaryArrayObjectThrowingExceptions::offsetGet | function | core/ |
Returns the value at the specified index. |
TemporaryArrayObjectThrowingExceptions::offsetSet | function | core/ |
Sets the value at the specified index to new value. |
TemporaryArrayObjectThrowingExceptions::offsetUnset | function | core/ |
Unsets the value at the specified index. |
TestTime::$offset | property | core/ |
An offset to add to the request time. |
ViewExecutable::$offset | property | core/ |
|
ViewExecutable::getOffset | function | core/ |
Gets the pager offset from the pager. |
Pagination
- Previous page
- Page 2
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.