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

◆ $body

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

Definition at line 19 of file owner_block.php.

◆ $owner

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

Elgg owner block Displays page ownership information.

@uses $vars['show_owner_block'] (bool) Display owner block (default: true) @uses $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

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

Definition at line 32 of file owner_block.php.