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

File: modifier.date_format.php

Source Location: /PhpDocumentor-1.5.0a1/phpDocumentor/Smarty-2.6.0/libs/plugins/modifier.date_format.php

Classes:

Page Details:

Smarty plugin

Includes:

require_once($smarty->_get_plugin_filepath('shared','make_timestamp')) [line 11]
Include the shared.make_timestamp.php plugin

smarty_modifier_date_format [line 30]

string|void smarty_modifier_date_format( string $string, [string $format = "%b %e, %Y"], [string $default_date = null])

Smarty date_format modifier plugin

Type: modifier
Name: date_format
Purpose: format datestamps via strftime
Input:

  • string: input date string
  • format: strftime format for output
  • default_date: default date if $string is empty



Parameters

string   $string  
string   $format  
string   $default_date  
[ Top ]



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