Index: branches/5.2.x/core/kernel/languages/phrases_cache.php =================================================================== diff -u -N -r15012 -r15073 --- branches/5.2.x/core/kernel/languages/phrases_cache.php (.../phrases_cache.php) (revision 15012) +++ branches/5.2.x/core/kernel/languages/phrases_cache.php (.../phrases_cache.php) (revision 15073) @@ -1,6 +1,6 @@ Ids) && count($this->Ids) > 0 && $this->Ids != $this->OriginalIds; } - function GetPhrase($label, $allow_editing = true, $use_admin = false) + /** + * Returns translation of given label + * + * @param string $label + * @param bool $allow_editing return translation link, when translation is missing on current language + * @param bool $use_admin use current Admin Console language to translate phrase + * @return string + * @access public + */ + public function GetPhrase($label, $allow_editing = true, $use_admin = false) { if ( !isset($this->LanguageId) ) { //actually possible when custom field contains references to language labels and its being rebuilt in OnAfterConfigRead