sTEFANs Subversion Web Contol (SWC)
Inc-Resources
[ class tree: Swc ] [ index: Swc ] [ all elements ]

Procedural File: _default.php

Source Location: /swc/inc/resources/_default.php

Page Details

Translation and localistation resource file for English (default).

Translation and localistation resource file for English (default).

Since:  v1.0.0
Filesource:  Source Code for this file
Version:  v1.1.0
License:  GNU Lesser General Public License
Copyright:  Copyright ©2006 by sTEFANs
Author:  Stefan Schraml
Functions
FormatTimestamp  [line 169]

string FormatTimestamp( int $timestamp, [boolean $short = false]  )

Returns a localised timestamp representation for the given timestamp.

Returns a localised timestamp representation for the given timestamp.

Parameters:
int   $timestamp:  A numerical PHP timestamp (as e.g. provided by strtotime() function).
boolean   $short:  Whether or not (default) the timestamp should be returned in short or long format.

API Tags:
Return:  A localised timestamp string.

Information Tags:
Since:  v1.0.0

[ Top ]
Translate  [line 47]

string Translate( defined $key  )

This function translates a text identified by $key to the language of the file. some default text if the given key is unknown.

This function translates a text identified by $key to the language of the file. the function should provide some default text if the given key is unknown.

Parameters:
defined   $key:  A translation key as defined within inc/translation_keys.inc.php

API Tags:
Return:  The translated text.
See:  inc/translation_keys.inc.php

Information Tags:
Since:  v1.0.0

[ Top ]


Documentation generated on Fri, 03 Nov 2006 18:45:08 +0100 by phpDocumentor 1.3.0RC6
for sTEFANs POWERED BY eBC.bz