Свойство | Type | Description | |
---|---|---|---|
$m_columnNames | |||
$m_dbTableName | |||
$m_keyColumnNames | |||
$m_keyIsAutoIncrement |
Méthode | Description | |
---|---|---|
GetPhrase ( integer $p_languageId, integer $p_phraseId ) | A convenience function to just grab a translation. | |
GetTranslations ( integer $p_phraseId, array $p_sqlOptions = null ) : array | Return an array of phrases indexed by language ID. | |
SetPhrase ( integer $p_languageId, integer $p_phraseId, string $p_text ) | Enter description here. | |
Translation ( $p_languageId = null, $p_phraseId = null ) | ||
create ( string $p_text = null ) : boolean | Create a translation of a phrase. If the phrase ID is set in the constructor, we assume that the phrase already exists and we are just creating a translation, and not a new phrase. | |
deletePhrase ( $p_phraseId = null ) | Delete the phrase and all of its translations. | |
getLanguageId ( ) : integer | Get the language ID. | |
getPhraseId ( ) : integer | Get the phrase ID. | |
getText ( ) : string | Get the text. | |
setText ( string $p_value ) : boolean | Set the translation text. |
Méthode | Description | |
---|---|---|
__GeneratePhraseId ( ) | Create a unique identifier for a phrase. |
public deletePhrase ( $p_phraseId = null ) |
public getLanguageId ( ) : integer | ||
Résultat | integer |