Functions | |
formatHtml ($string) | |
format html so that l10n caracters (encoding) are properly displayed | |
formatDate ($timestamp) | |
format a date | |
formatAuthor ($author, $email) | |
format a link for author and email | |
formatEmail ($email) | |
format email | |
formatName ($login, $first_name, $last_name) | |
format name | |
formatSize ($size) | |
format a size | |
formatMonth ($month) | |
format a month according to i18n | |
formatDay ($day) | |
format a day according to i18n | |
formatSmallDay ($day) | |
format a day according to i18n with lesser letter |
This file creates no hook.
formatAuthor | ( | $ | author, | |
$ | ||||
) |
format a link for author and email
author | ||
(optional : maybe empty) |
formatDate | ( | $ | timestamp | ) |
format a date
timestamp | the date to format |
formatDay | ( | $ | day | ) |
format a day according to i18n
day | day to format |
formatEmail | ( | $ | ) |
format email
the email to encode |
formatHtml | ( | $ | string | ) |
format html so that l10n caracters (encoding) are properly displayed
I'm searching for a simpler version because I guess this one is slow, but I didn't find any yet.
string | the string to format (both html entities and encoding) |
formatMonth | ( | $ | month | ) |
format a month according to i18n
month | month to format |
formatName | ( | $ | login, | |
$ | first_name, | |||
$ | last_name | |||
) |
format name
login | ||
first_name | ||
last_name |
formatSize | ( | $ | size | ) |
format a size
size | size to format |
formatSmallDay | ( | $ | day | ) |
format a day according to i18n with lesser letter
day | day to format |