PEAR Manual
Prev |  | Next

# Translation2::getRaw()

Translation2::getRaw() -- Get translated string (as-is)

## Synopsis

    require_once 'Translation2.php';

``string Translation2::getRaw` (string $stringID [, string $pageID = TRANSLATION2_DEFAULT_PAGEID [, string $langID = `NULL` [, string $defaultText = '']]])`

## Description

Fetch the string from the container. If the string is empty return $defaultText.

## Parameter

string `$stringID`

string `$pageID`

string `$langID`

string `$defaultText`

  Text to display when the string is empty

## Note

This function can not be called statically.

Prev | Home | Next
Translation2::getPage() | Up | Translation2::getRawPage()