PEEL Shopping
Open source ecommerce : PEEL Shopping
Namespaces | Functions
modifier.date_format.php File Reference

Go to the source code of this file.

Namespaces

 Smarty
 Smarty plugin to format text blocks.
 

Functions

 smarty_modifier_date_format ($string, $format=null, $default_date='', $formatter='auto')
 Smarty date_format modifier plugin. More...
 

Function Documentation

smarty_modifier_date_format (   $string,
  $format = null,
  $default_date = '',
  $formatter = 'auto' 
)

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

date_format (Smarty online manual) Monte Ohrt

Parameters
string$stringinput date string
string$formatstrftime format for output
string$default_datedefault date if $string is empty
string$formattereither 'strftime' or 'auto'
Returns
string |void smarty_make_timestamp()

Include the shared.make_timestamp.php plugin

Definition at line 29 of file modifier.date_format.php.


This documentation for Open ecommerce PEEL Shopping and PEEL.fr has been generated by Doxygen on Thu Oct 15 2015 14:41:42 - Peel ecommerce is a product of Agence web Advisto SAS. All rights reserved.