ZenMagick 0.9.8


org.zenmagick.store.mvc.tools.ZMToolboxLocale
\store\mvc\tools\ZMToolboxLocale.php at line 33

Class ZMToolboxLocale

ZMObject
└─ZMToolboxTool
└─ZMToolboxLocale

public class ZMToolboxLocale
extends ZMToolboxTool

Locale methods.

Author:
DerManoMann
Version:
$Id: ZMToolboxLocale.php 2694 2009-12-03 22:32:18Z dermanomann $

Fields inherited from org.zenmagick.toolbox.ZMToolboxTool
request_, toolbox_
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).

Methods inherited from org.zenmagick.toolbox.ZMToolboxTool
getRequest, getToolbox, setRequest, setToolbox
Methods inherited from org.zenmagick.core.ZMObject
attachMethod, get, getAttachedMethods, getPropertyNames, set, singleton

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.

ZenMagick 0.9.8