/** * Alias for timeAgoInWords * * @param mixed $dateTime Datetime string (strtotime-compatible) or Unix timestamp * @param mixed $options Default format string, if timestamp is used in $dateTime, or an array of options to be passed * on to timeAgoInWords(). * @return string Relative time string. * @see TimeHelper::timeAgoInWords * @access public * @deprecated This method alias will be removed in future versions. * @link http://book.cakephp.org/view/1471/Formatting */ function relativeTime($dateTime, $options = array()) { return parent::relativeTime($dateTime, $this->__userOffset($dateTime, $options)); }