Elgg  Version master
Variables
prev_last_login.php File Reference

Go to the source code of this file.

Variables

 $entity = elgg_extract('item', $vars)
 Render the prev last login timestamp. More...
 
if(!$entity instanceof\ElggUser) $format = elgg_extract('format', $vars, DATE_RFC2822)
 
 if ($format=== 'friendly')
 

Variable Documentation

$entity = elgg_extract('item', $vars)

Render the prev last login timestamp.

$vars['item'] The item being rendered $vars['item_vars'] Vars received from the page/components/table view $vars['type'] The item type or "" $vars['format'] Date format. Use "friendly" for output/friendlytime view.

Definition at line 11 of file prev_last_login.php.

if (!$entity instanceof\ElggUser) $format = elgg_extract('format', $vars, DATE_RFC2822)

Definition at line 16 of file prev_last_login.php.

if($format=== 'friendly')

Definition at line 18 of file prev_last_login.php.