Your browser must have JavaScript enabled in order to view this page.
 >  >
 
Welcome Guest#3513 Login/register    Go to Bottom
Go to Top

Procedural File: dptext.php

SOURCE LOCATION:  /lib/dptext.php

File Overview

Replacements for gettext and _ if gettext is not enabled in PHP

DutchPIPE version 0.4; PHP version 5

LICENSE: This source file is subject to version 1.0 of the DutchPIPE license. If you did not receive a copy of the DutchPIPE license, you can obtain one at http://dutchpipe.org/license/1_0.txt or by sending a note to license@dutchpipe.org, in which case you will be mailed a copy immediately.


SEE:  dpuniverse.php
FILESOURCE:  Source Code for this file
LINK:  http://dutchpipe.org/manual/package/DutchPIPE
VERSION:  Subversion: $Id: dptext.php 278 2007-08-19 22:52:25Z ls $
COPYRIGHT:  2006, 2007 Lennert Stock
LICENSE:  DutchPIPE License
AUTHOR:  Lennert Stock <ls@dutchpipe.org>

Functions

dp_text  [line 44]
string dp_text( string $message , mixed $args,...   )

Looks up an optionally formatted message in the current domain for translation

All texts in the DutchPIPE source code should be passed through this function in English. This allows DutchPIPE to return translated strings for DutchPIPE sites in other languages.

The message can be a plain string, or a formatted string according to the sprintf format, see http://www.php.net/sprintf. In the last case more arguments must be given to fill in values, as seen in the sprintf documentation.

If gettext is enabled and the set language is not equal to language of the given string, a translated string will be returned if available in the translation table.

PARAMETERS:
string   $message:  the integer or string to check
mixed   $args,...:  the integer or string to check

RETURNS:  string  string produced according to format and language

Documentation generated on Mon, 03 Sep 2007 22:20:41 +0200 by phpDocumentor 1.3.0RC6

Click me!
Guest#3513
 
 
 
  Go to Top
 
 
Input Field OptionsClose Input Field Go to Top
 
Legal Notices | Copyright © 2006, 2007 Lennert Stock. All rights reserved. Last update: Mon Sep 03 2007, 21:50 CET.