Elgg  Version master
Functions
pageowner.php File Reference

Go to the source code of this file.

Functions

 elgg_get_page_owner_guid ()
 Elgg page owner library. More...
 
 elgg_get_page_owner_entity ()
 Gets the owner entity for the current page. More...
 
 elgg_set_page_owner_guid (int $guid)
 Set the guid of the entity that owns this page. More...
 

Function Documentation

elgg_get_page_owner_entity ( )

Gets the owner entity for the current page.

Returns
|null The current page owner or null if none.
Since
1.8.0

Definition at line 23 of file pageowner.php.

elgg_get_page_owner_guid ( )

Elgg page owner library.

Gets the guid of the entity that owns the current page.

Returns
int The current page owner guid (0 if none).
Since
1.8.0

Definition at line 12 of file pageowner.php.

elgg_set_page_owner_guid ( int  $guid)

Set the guid of the entity that owns this page.

Parameters
int$guidThe guid of the page owner
Returns
void
Since
1.8.0

Definition at line 34 of file pageowner.php.