I18N |
![]() |
[ class tree: I18N ] [ index: I18N ] [ all elements ] |
![]() |
Packages: I18N Language Classes: Files:
af.php
Common.php Country.php Currency.php DateTime.php da_DK.php de.php determineLanguage.inc.php de_AT.php de_DE.php en.php en_GB.php en_UK.php en_US.php en_ZA.php es.php es_ES.php File.php Format.php fr.php fr_FR.php hu.php I18N_Currency.php I18N_DateTime.php I18N_Message.php I18N_Message_Translate.php I18N_Negotiator.php I18N_Number.php it.php it_IT.php Language.php Negotiator.php nl.php nl_NL.php Number.php pl.php pt.php ru.php sl.php |
[ Top ] $monthsAbbreviated = array( 'Jan' , 'Feb' , 'Mar' , 'Apr' , 'May' , 'Jun' ,'Jul' , 'Aug' , 'Sep' , 'Oct' , 'Nov' , 'Dec' )[line 53]
[ Top ] $_locale =[line 76] this var contains the current locale this instace works with
[ Top ] $_localeObj = null[line 84] the locale object which contains all the formatting specs
[ Top ] Method Detailformat [line 125]
returns the timestamp formatted according to the locale and the format-mode use this method to format a date and time timestamp
Parameters:
[ Top ]
formatDate [line 142]
returns the timestamp formatted according to the locale and the format-mode use this method to get a formatted date only
Parameters:
[ Top ]
formatDateDefault [line 501]
convinience method, same as formatDate( $timestamp , I18N_DATETIME_DEFAULT ) this method exists, to have a shorter call to the method with a default format I18N_DATETIME_DEFAULT
Parameters:
[ Top ]
formatDateFull [line 555]
convinience method, same as formatDate( $timestamp , I18N_DATETIME_FULL ) this method exists, to have a shorter call to the method with a default format I18N_DATETIME_FULL
Parameters:
[ Top ]
formatDateLong [line 537]
convinience method, same as formatDate( $timestamp , I18N_DATETIME_LONG ) this method exists, to have a shorter call to the method with a default format I18N_DATETIME_LONG
Parameters:
[ Top ]
formatDateMedium [line 519]
convinience method, same as formatDate( $timestamp , I18N_DATETIME_MEDIUM ) this method exists, to have a shorter call to the method with a default format I18N_DATETIME_MEDIUM
Parameters:
[ Top ]
formatDateShort [line 483]
convinience method, same as formatDate( $timestamp , I18N_DATETIME_SHORT ) this method exists, to have a shorter call to the method with a default format I18N_DATETIME_SHORT
Parameters:
[ Top ]
formatDefault [line 408]
convinience method, same as format( $timestamp , I18N_DATETIME_DEFAULT ) this method exists, to have a shorter call to the method with a default format I18N_DATETIME_DEFAULT
Parameters:
[ Top ]
formatFull [line 462]
convinience method, same as format( $timestamp , I18N_DATETIME_FULL ) this method exists, to have a shorter call to the method with a default format I18N_DATETIME_FULL
Parameters:
[ Top ]
formatLong [line 444]
convinience method, same as format( $timestamp , I18N_DATETIME_LONG ) this method exists, to have a shorter call to the method with a default format I18N_DATETIME_LONG
Parameters:
[ Top ]
formatMedium [line 426]
convinience method, same as format( $timestamp , I18N_DATETIME_MEDIUM ) this method exists, to have a shorter call to the method with a default format I18N_DATETIME_MEDIUM
Parameters:
[ Top ]
formatShort [line 390]
convinience method, same as format( $timestamp , I18N_DATETIME_SHORT ) this method exists, to have a shorter call to the method with a default format I18N_DATETIME_SHORT
Parameters:
[ Top ]
formatTime [line 159]
returns the timestamp formatted according to the locale and the format-mode use this method to get a formatted time only
Parameters:
[ Top ]
formatTimeDefault [line 595]
convinience method, same as formatTime( $timestamp , I18N_DATETIME_DEFAULT ) this method exists, to have a shorter call to the method with a default format I18N_DATETIME_DEFAULT
Parameters:
[ Top ]
formatTimeFull [line 649]
convinience method, same as formatTime( $timestamp , I18N_DATETIME_FULL ) this method exists, to have a shorter call to the method with a default format I18N_DATETIME_FULL
Parameters:
[ Top ]
formatTimeLong [line 631]
convinience method, same as formatTime( $timestamp , I18N_DATETIME_LONG ) this method exists, to have a shorter call to the method with a default format I18N_DATETIME_LONG
Parameters:
[ Top ]
formatTimeMedium [line 613]
convinience method, same as formatTime( $timestamp , I18N_DATETIME_MEDIUM ) this method exists, to have a shorter call to the method with a default format I18N_DATETIME_MEDIUM
Parameters:
[ Top ]
formatTimeShort [line 577]
convinience method, same as formatTime( $timestamp , I18N_DATETIME_SHORT ) this method exists, to have a shorter call to the method with a default format I18N_DATETIME_SHORT
Parameters:
[ Top ]
getDateFormat [line 326]getDayNames [line 361]getMonthName [line 339]
get either the current or the given month name Parameters:
[ Top ]
getMonthNames [line 355]
get all month names for the current locale get all month names for the current locale, fallback to english if not defined Parameters:
[ Top ]
getTimeFormat [line 330]setDateFormat [line 302]
define a custom format given by $format and return the $format-id the format-id can be used to call formatDate( x , format-id ) to tell the method you want to use the format with that id
Parameters:
[ Top ]
setFormat [line 286]
define a custom format given by $format and return the $format-id the format-id can be used to call format( x , format-id ) to tell the method you want to use the format with that id
Overrides I18N_Format::setFormat() (define a custom format given by $format and return the $format-id the format-id can be used to call format( x , format-id ) to tell the method you want to use the format with that id) Parameters:
[ Top ]
setTimeFormat [line 318]
define a custom format given by $format and return the $format-id the format-id can be used to call formatTime( x , format-id ) to tell the method you want to use the format with that id
Parameters:
[ Top ]
singleton [line 108]
Use this method to setup and to retreive the static instance of the I18N_DateTime.
Parameters:
[ Top ]
Documentation generated on Mon, 11 Mar 2019 15:36:11 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004. |