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

Procedural File: modifier.date_format.php

Source Location: /modules/Base/Theme/smarty/plugins/modifier.date_format.php

Page Details

Smarty plugin

Includes
require_once ($smarty->_get_plugin_filepath('shared','make_timestamp')) [line 11]

Include the shared.make_timestamp.php plugin

[ Top ]


Functions
smarty_modifier_date_format  [line 31]

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

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: 

API Tags:
Uses:  smarty_make_timestamp()

Information Tags:
Author:  Monte Ohrt <at ohrt dot com monte at ohrt dot com>
Link:  http://smarty.php.net/manual/en/language.modifier.date.format.php date_format (Smarty online manual)

[ Top ]


Documentation generated on Fri, 26 Dec 2008 21:44:03 -0500 by phpDocumentor 1.4.2