Generic controller to handle entity listing routes.
More...
Generic controller to handle entity listing routes.
- Since
- 7.0
Definition at line 14 of file GenericContentListing.php.
◆ assertValidRoute()
| Elgg\Controllers\GenericContentListing::assertValidRoute |
( |
| ) |
|
|
protected |
◆ getGroupToolOption()
| Elgg\Controllers\GenericContentListing::getGroupToolOption |
( |
| ) |
|
|
protected |
◆ getListingOptions()
| Elgg\Controllers\GenericContentListing::getListingOptions |
( |
string |
$page, |
|
|
array |
$options |
|
) |
| |
|
protected |
◆ getPage()
| Elgg\Controllers\GenericContentListing::getPage |
( |
| ) |
|
|
protected |
◆ getPageOptions()
| Elgg\Controllers\GenericContentListing::getPageOptions |
( |
string |
$page, |
|
|
array |
$options |
|
) |
| |
|
protected |
◆ handleRequest()
| Elgg\Controllers\GenericContentListing::handleRequest |
( |
\Elgg\Request |
$request | ) |
|
|
finalprotected |
◆ listAll()
| Elgg\Controllers\GenericContentListing::listAll |
( |
array |
$options | ) |
|
|
protected |
All content item listing.
for the routes:
- default:<type>:<subtype>
- collection:<type>:<subtype>:all
- Parameters
-
| array | $options | listing options |
- Returns
- string
Definition at line 154 of file GenericContentListing.php.
◆ listFriends()
| Elgg\Controllers\GenericContentListing::listFriends |
( |
array |
$options | ) |
|
|
protected |
Friends content item listing.
for the route:
- collection:<type>:<subtype>:friends
- Parameters
-
| array | $options | listing options |
- Returns
- string
- Exceptions
-
Definition at line 175 of file GenericContentListing.php.
◆ listGroup()
| Elgg\Controllers\GenericContentListing::listGroup |
( |
array |
$options | ) |
|
|
protected |
Group content item listing.
for the route:
- collection:<type>:<subtype>:group
- Parameters
-
| array | $options | listing options |
- Returns
- string
- Exceptions
-
| BadRequestException | |
| GroupToolGatekeeperException | |
Definition at line 209 of file GenericContentListing.php.
◆ listOwner()
| Elgg\Controllers\GenericContentListing::listOwner |
( |
array |
$options | ) |
|
|
protected |
Owner content item listing.
for the route:
- collection:<type>:<subtype>:owner
- Parameters
-
| array | $options | listing options |
- Returns
- string
- Exceptions
-
Definition at line 246 of file GenericContentListing.php.
◆ parseRoute()
| Elgg\Controllers\GenericContentListing::parseRoute |
( |
| ) |
|
|
finalprotected |
◆ $page_owner
| ElggEntity Elgg\Controllers\GenericContentListing::$page_owner = null |
|
protected |
The documentation for this class was generated from the following file: