Elgg
Version 6.1
|
Go to the source code of this file.
Variables | |
$entity = elgg_extract('entity', $vars) | |
Displays information about the author and container of the post. More... | |
if(!$entity instanceof ElggEntity) | $show_links = elgg_extract('show_links', $vars, true) |
$byline_str = elgg_extract('byline', $vars) | |
if(!isset($byline_str)) | if (elgg_is_empty($byline_str)) |
$byline_str = elgg_extract('byline', $vars) |
Definition at line 21 of file byline.php.
$entity = elgg_extract('entity', $vars) |
Displays information about the author and container of the post.
$vars['entity'] The entity to show the byline for $vars['byline'] Byline If not set, will display default author/container information If set to false, byline will not be rendered $vars['byline_owner_entity'] the owner entity to use for the byline (default: ElggEntity::getOwnerEntity()) $vars['byline_container_entity'] the container entity to use for the byline (default: ElggEntity::getContainerEntity()) $vars['show_links'] Owner and container text should show as links (default: true)
Definition at line 14 of file byline.php.
if (!$entity instanceof ElggEntity) $show_links = elgg_extract('show_links', $vars, true) |
Definition at line 19 of file byline.php.
if (!isset($byline_str)) if(elgg_is_empty($byline_str)) |
Definition at line 50 of file byline.php.