PEAR Manual
Prev |  | Next

# Translation2::getStringID()

Translation2::getStringID() -- Get the stringID for a given string

## Synopsis

    require_once 'Translation2.php';

``string Translation2::getStringID` (string $string [, mixed $pageID = TRANSLATION2_DEFAULT_PAGEID])`

## Description

Get the stringID of the string passed as parameter

## Parameter

string `$string`

  This is NOT the stringID, this is a real string. The method will return its matching stringID.

mixed `$pageID`

## Note

This function can not be called statically.

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