Pluf_Template_unsafe()
Pluf_Template_unsafe( $string) : string
Set a string to be safe for display.
Parameters
$string |
Returns
string —Pluf_Template_SafeString
Pluf_Template_dateFormat(string $date, string $format = '%b %e, %Y') : string
Modifier plugin: Convert the date from GMT to local and format it.
This is used as all the datetime are stored in GMT in the database.
string | $date | input date string considered GMT |
string | $format | strftime format for output ('%b %e, %Y') |
date in localtime
Pluf_Template_timeFormat(integer $time, string $format = 'Y-m-d H:i:s') : string
Modifier plugin: Format a unix time.
Warning: date format is directly to be used, not consideration of GMT or local time.
integer | $time | input date string considered GMT |
string | $format | strftime format for output ('Y-m-d H:i:s') |
formated time