PHP Class Horde_View_Helper_Date, horde

Author: Mike Naberezny ([email protected])
Author: Derek DeVries ([email protected])
Author: Chuck Hagenbuch ([email protected])
Inheritance: extends Horde_View_Helper_Base
Afficher le fichier Open project: horde/horde

Méthodes publiques

Méthode Description
dateSelect ( $objectName, $method, $options = [] )
distanceOfTimeInWords ( $fromTime, $toTime, $includeSeconds = false )
timeAgoInWords ( $fromTime, $includeSeconds = false ) Like distanceOfTimeInWords(), but where $toTime is fixed to now.

Method Details

dateSelect() public méthode

public dateSelect ( $objectName, $method, $options = [] )

distanceOfTimeInWords() public méthode

public distanceOfTimeInWords ( $fromTime, $toTime, $includeSeconds = false )

timeAgoInWords() public méthode

Like distanceOfTimeInWords(), but where $toTime is fixed to now.
public timeAgoInWords ( $fromTime, $includeSeconds = false )