Holds page owner related functions.
More...
Holds page owner related functions.
Definition at line 20 of file PageOwnerService.php.
Elgg\Page\PageOwnerService::detectPageOwnerFromRoute |
( |
| ) |
|
|
protected |
Detects page owner from route.
- Returns
- int|void detected page owner guid or void if none detected
Definition at line 104 of file PageOwnerService.php.
Elgg\Page\PageOwnerService::getPageOwnerEntity |
( |
| ) |
|
Returns the page owner entity.
- Returns
- |false the current page owner or false if none.
Definition at line 233 of file PageOwnerService.php.
Elgg\Page\PageOwnerService::getPageOwnerGuid |
( |
| ) |
|
Elgg\Page\PageOwnerService::initializePageOwner |
( |
| ) |
|
|
protected |
Initialize the page owner by trying to autodetect or let a hook to provide the page owner.
- Returns
- void
Definition at line 82 of file PageOwnerService.php.
Elgg\Page\PageOwnerService::setPageOwnerGuid |
( |
int |
$guid = 0 | ) |
|
Sets a new page owner guid.
- Parameters
-
int | $guid | the new page owner |
- Exceptions
-
- Returns
- void
Definition at line 212 of file PageOwnerService.php.
Elgg\Page\PageOwnerService::$entity_table |
|
protected |
Elgg\Page\PageOwnerService::$hooks |
|
protected |
Elgg\Page\PageOwnerService::$invoker |
|
protected |
Elgg\Page\PageOwnerService::$page_owner_guid = 0 |
|
protected |
Elgg\Page\PageOwnerService::$request |
|
protected |
Elgg\Page\PageOwnerService::$users_table |
|
protected |
The documentation for this class was generated from the following file: