getDisplayNameLanguageCode() public method

Gets the language code of the current translation language; or none if there is no translation.
public getDisplayNameLanguageCode ( $p_lang ) : string
return string
コード例 #1
0
ファイル: ArticleType.php プロジェクト: nidzix/Newscoop
 /**
  * Gets the language code of the current translation language; or none
  * if there is no translation.
  *
  * @param int p_lang
  *
  * @return string
  */
 public function getDisplayNameLanguageCode($p_lang = 0)
 {
     return $this->m_metadata->getDisplayNameLanguageCode($p_lang);
 }