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


require_once 'Translation2.php';

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


Get the stringID of the string passed as parameter


string $string

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

mixed $pageID


This function can not be called statically.

Get the array of strings in a page (Previous) Replace the array values with their keys when empty (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.