Elgg  Version 2.3
Variables
time_updated.php File Reference

Go to the source code of this file.

Variables

 $entity = $vars['item']
 Render the time updated. More...
 
 $format = elgg_extract('format', $vars, 'M d, Y H:i')
 
 if ( $format==='friendly')
 

Variable Documentation

◆ $entity

$entity = $vars['item']

Render the time updated.

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

Definition at line 11 of file time_updated.php.

◆ $format

$format = elgg_extract('format', $vars, 'M d, Y H:i')

Definition at line 14 of file time_updated.php.

◆ if

if($format==='friendly') (   $format = == 'friendly')

Definition at line 16 of file time_updated.php.