Elgg  Version master
Variables
owner_block.php File Reference

Go to the source code of this file.

Variables

if(!elgg_extract('show_owner_block', $vars, true)) $owner = elgg_get_page_owner_entity()
 Elgg owner block Displays page ownership information. More...
 
if(!$owner instanceof\ElggGroup &&!$owner instanceof\ElggUser) $body = ''
 
if(elgg_extract('show_owner_block_menu', $vars, true)) if(elgg_view_exists('page/elements/owner_block/extend')) if (empty($body))
 

Variable Documentation

if (!$owner instanceof\ElggGroup &&!$owner instanceof\ElggUser) $body = ''

Definition at line 19 of file owner_block.php.

if (!elgg_extract('show_owner_block', $vars, true)) $owner = elgg_get_page_owner_entity()

Elgg owner block Displays page ownership information.

$vars['show_owner_block'] (bool) Display owner block (default: true) $vars['show_owner_block_menu'] (bool) Show the owner_block menu for the current page owner (default: true)

Definition at line 14 of file owner_block.php.

if (elgg_extract('show_owner_block_menu', $vars, true)) if (elgg_view_exists('page/elements/owner_block/extend')) if(empty($body))

Definition at line 32 of file owner_block.php.