Date_HumanDiff
[ class tree: Date_HumanDiff ] [ index: Date_HumanDiff ] [ all elements ]

Element index for package Date_HumanDiff

[ a ] [ c ] [ d ] [ e ] [ f ] [ g ] [ h ] [ l ] [ m ] [ p ] [ r ] [ s ] [ t ] [ w ] [ y ] [ _ ]

_

__construct
in file HumanDiff.php, method Date_HumanDiff::__construct()
    Create new instance, initialize $formats array
top

a

addFormat
in file HumanDiff.php, method Date_HumanDiff::addFormat()
    Adds a new format to the list of time formats.
top

c

clearFormats
in file HumanDiff.php, method Date_HumanDiff::clearFormats()
    Delete all existing formats.
custom.php
procedural page custom.php
top

d

$DAY
in file HumanDiff.php, variable Date_HumanDiff::$DAY
Date_HumanDiff
in file HumanDiff.php, class Date_HumanDiff
    Generate textual time differences that are easily understandable by humans.
de.php
procedural page de.php
Date_HumanDiff_Locale
in file Locale.php, class Date_HumanDiff_Locale
    Interface that all locale/translation classes need to implement.
Date_HumanDiff_LocaleArray
in file LocaleArray.php, class Date_HumanDiff_LocaleArray
    Abstract implementation of the locale/translation interface that works on a translation array to provide translations.
Date_HumanDiff_Locale_de
in file de.php, class Date_HumanDiff_Locale_de
    German translation of the english messages.
Date_HumanDiff_Locale_el
in file el.php, class Date_HumanDiff_Locale_el
    Greek translation of the english messages.
Date_HumanDiff_Locale_fa
in file fa.php, class Date_HumanDiff_Locale_fa
    Persian translation of the english messages.
Date_HumanDiff_Locale_ru
in file ru.php, class Date_HumanDiff_Locale_ru
    Russian translation of the english messages.
top

e

el.php
procedural page el.php
top

f

$formats
in file HumanDiff.php, variable Date_HumanDiff::$formats
    Array of possible time difference display formats.
fa.php
procedural page fa.php
top

g

get
in file ru.php, method Date_HumanDiff_Locale_ru::get()
    Get the translation for the given string.
get
in file LocaleArray.php, method Date_HumanDiff_LocaleArray::get()
    Get the translation for the given string.
get
in file Locale.php, method Date_HumanDiff_Locale::get()
    Get the translation for the given string.
get
in file HumanDiff.php, method Date_HumanDiff::get()
    Generate a human readable time difference.
getTranslation
in file HumanDiff.php, method Date_HumanDiff::getTranslation()
    Get the translation for the given string.
top

h

$HOUR
in file HumanDiff.php, variable Date_HumanDiff::$HOUR
human.php
procedural page human.php
HumanDiff.php
procedural page HumanDiff.php
top

l

Locale.php
procedural page Locale.php
LocaleArray.php
procedural page LocaleArray.php
top

m

$MINUTE
in file HumanDiff.php, variable Date_HumanDiff::$MINUTE
$MONTH
in file HumanDiff.php, variable Date_HumanDiff::$MONTH
makeTimestamp
in file HumanDiff.php, method Date_HumanDiff::makeTimestamp()
    Convert given variable to a unix timestamp.
top

p

plural
in file ru.php, method Date_HumanDiff_Locale_ru::plural()
    Translate a plural number
top

r

ru.php
procedural page ru.php
top

s

setLocale
in file HumanDiff.php, method Date_HumanDiff::setLocale()
    Set the locale to use.
setTranslator
in file HumanDiff.php, method Date_HumanDiff::setTranslator()
    Set the object that's used to translate time strings
sortFormatCompare
in file HumanDiff.php, method Date_HumanDiff::sortFormatCompare()
    Comparision function for usort()
sortFormats
in file HumanDiff.php, method Date_HumanDiff::sortFormats()
    Sort all formats by their time difference
top

t

$trans
in file ru.php, variable Date_HumanDiff_Locale_ru::$trans
    Translation array.
$trans
in file de.php, variable Date_HumanDiff_Locale_de::$trans
    Translation array.
$trans
in file fa.php, variable Date_HumanDiff_Locale_fa::$trans
    Translation array.
$trans
in file el.php, variable Date_HumanDiff_Locale_el::$trans
    Translation array.
$translator
in file HumanDiff.php, variable Date_HumanDiff::$translator
    Translation object.
translation.php
procedural page translation.php
top

w

$WEEK
in file HumanDiff.php, variable Date_HumanDiff::$WEEK
top

y

$YEAR
in file HumanDiff.php, variable Date_HumanDiff::$YEAR
top

Documentation generated on Mon, 11 Mar 2019 15:56:37 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.