Elgg  Version 2.3
Variables
friendlytime.php File Reference

Go to the source code of this file.

Variables

 $friendly_time = elgg_get_friendly_time($vars['time'])
 Friendly time Translates an epoch time into a human-readable time. More...
 
 $attributes = array()
 
 $attributes ['title'] = date(elgg_echo('friendlytime:date_format'), $vars['time'])
 
 $attributes ['datetime'] = date('c', $vars['time'])
 
 $attrs = elgg_format_attributes($attributes)
 

Variable Documentation

$attributes = array()

Definition at line 10 of file friendlytime.php.

$attributes['title'] = date(elgg_echo('friendlytime:date_format'), $vars['time'])

Definition at line 11 of file friendlytime.php.

$attributes['datetime'] = date('c', $vars['time'])

Definition at line 12 of file friendlytime.php.

$attrs = elgg_format_attributes($attributes)

Definition at line 13 of file friendlytime.php.

$friendly_time = elgg_get_friendly_time($vars['time'])

Friendly time Translates an epoch time into a human-readable time.

string $vars['time'] Unix-style epoch timestamp

Definition at line 9 of file friendlytime.php.