Prints a relative time description with an absolute time as tooltip.
public static function UnbUi::RelativeTime ($time, $context = UnbTimeContext::Point, $ret = false);
(string) Time specification
(int) UNIX timestamp
(UnbTimeContext) Specifies the context in which the time will be used, used for the correct grammatical formulation
(bool) Specifies whether the HTML code shall be returned instead of printed
The second parameter may be left out if ret is meant to be set true
.
Member of class: UnbUi
Implementation file: ui.class.php, line 444
© 2011 Yves Goergen. UNB Components Homepage. Reference generated on 2011-02-22.