Holds page owner related functions.
More...
Holds page owner related functions.
Definition at line 19 of file PageOwnerService.php.
Elgg\Page\PageOwnerService::detectPageOwnerFromRoute |
( |
| ) |
|
|
protected |
Detects page owner from route.
- Returns
- int detected page owner guid or void if none detected
Definition at line 73 of file PageOwnerService.php.
Elgg\Page\PageOwnerService::getPageOwnerEntity |
( |
| ) |
|
Returns the page owner entity.
- Returns
- the current page owner or null if none.
Definition at line 117 of file PageOwnerService.php.
Elgg\Page\PageOwnerService::getPageOwnerGuid |
( |
| ) |
|
Elgg\Page\PageOwnerService::setPageOwnerGuid |
( |
int |
$guid = 0 | ) |
|
Sets a new page owner guid.
- Parameters
-
int | $guid | the new page owner |
- Returns
- void
- Exceptions
-
Definition at line 95 of file PageOwnerService.php.
Elgg\Page\PageOwnerService::$entity_table |
|
protected |
Elgg\Page\PageOwnerService::$events |
|
protected |
Elgg\Page\PageOwnerService::$invoker |
|
protected |
Elgg\Page\PageOwnerService::$page_owner_guid = 0 |
|
protected |
Elgg\Page\PageOwnerService::$request |
|
protected |
The documentation for this class was generated from the following file: