org.zenmagick.store.mvc.tools.ZMToolboxLocale
\store\mvc\tools\ZMToolboxLocale.php at line 33
Class ZMToolboxLocale
ZMObject
└─ZMToolboxTool
└─ZMToolboxLocale
public class ZMToolboxLocale
extends ZMToolboxTool
- Author:
- DerManoMann
- Version:
- $Id: ZMToolboxLocale.php 2694 2009-12-03 22:32:18Z dermanomann $
| Fields inherited from org.zenmagick.core.ZMObject |
| properties_ |
| Method Summary |
| string |
shortDate(string date, boolean echo) Format and display a date(time) using the configured ui date format (UI_DATE_FORMAT). |
Method Detail
\store\mvc\tools\ZMToolboxLocale.php at line 42
shortDate
public string shortDate(string date, boolean echo)
Format and display a date(time) using the configured ui date format (UI_DATE_FORMAT).
- Parameters:
- date - The date.
- echo - If
true, the date will be echo'ed as well as returned.
- Returns:
- The formatted date.
Locale methods.