ILIAS  Release_4_1_x_branch Revision 61804
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilMDLanguageItem Class Reference
+ Collaboration diagram for ilMDLanguageItem:

Public Member Functions

 ilMDLanguageItem ($a_code)
 getLanguageCode ()
 _getPossibleLanguageCodes ()
 _getLanguages ()
 ilMDLanguageItem ($a_code)
 getLanguageCode ()
 _getPossibleLanguageCodes ()
 _getLanguages ()

Data Fields

 $language_code
 $possible_language_codes = array()

Detailed Description

Definition at line 32 of file class.ilMDLanguageItem.php.

Member Function Documentation

ilMDLanguageItem::_getLanguages ( )
ilMDLanguageItem::_getLanguages ( )

Definition at line 78 of file class.ilMDLanguageItem.php.

References $lng, and _getPossibleLanguageCodes().

{
global $lng;
$lng->loadLanguageModule("meta");
$langs = array();
{
$langs[$lngcode] = $lng->txt("meta_l_".$lngcode);
}
asort($langs);
return $langs;
}

+ Here is the call graph for this function:

ilMDLanguageItem::_getPossibleLanguageCodes ( )

Definition at line 58 of file class.ilMDLanguageItem.php.

Referenced by _getLanguages(), ilMDUtilSelect\_getLanguageSelect(), and getLanguageCode().

{
return array("aa","ab","af","am","ar","as","ay","az","ba","be","bg","bh",
"bi","bn","bo","br","ca","co","cs","cy","da","de","dz","el","en","eo",
"es","et","eu","fa","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu",
"ha","he","hi","hr","hu","hy","ia","ie","ik","id","is","it","iu","ja",
"jv","ka","kk","kl","km","kn","ko","ks","ku","ky","la","ln",
"lo","lt","lv","mg","mi","mk","ml","mn","mo","mr","ms","mt",
"my","na","ne","nl","no","oc","om","or","pa","pl","ps","pt",
"qu","rm","rn","ro",
"ru","rw",
"sa","sd","sg","sh","si","sk","sl","sm","sn","so","sq","sr","ss","st",
"su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts",
"tt","tw","ug","uk","ur","uz","vi","vo","wo","xh","yi","yo","za","zh",
"zu");
}

+ Here is the caller graph for this function:

ilMDLanguageItem::_getPossibleLanguageCodes ( )

Definition at line 58 of file class.ilMDLanguageItem.php.

{
return array("aa","ab","af","am","ar","as","ay","az","ba","be","bg","bh",
"bi","bn","bo","br","ca","co","cs","cy","da","de","dz","el","en","eo",
"es","et","eu","fa","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu",
"ha","he","hi","hr","hu","hy","ia","ie","ik","id","is","it","iu","ja",
"jv","ka","kk","kl","km","kn","ko","ks","ku","ky","la","ln",
"lo","lt","lv","mg","mi","mk","ml","mn","mo","mr","ms","mt",
"my","na","ne","nl","no","oc","om","or","pa","pl","ps","pt",
"qu","rm","rn","ro",
"ru","rw",
"sa","sd","sg","sh","si","sk","sl","sm","sn","so","sq","sr","ss","st",
"su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts",
"tt","tw","ug","uk","ur","uz","vi","vo","wo","xh","yi","yo","za","zh",
"zu");
}
ilMDLanguageItem::getLanguageCode ( )

Definition at line 44 of file class.ilMDLanguageItem.php.

References $lang, $language_code, and _getPossibleLanguageCodes().

{
if(in_array($this->language_code,$lang))
{
}
return false;
}

+ Here is the call graph for this function:

ilMDLanguageItem::getLanguageCode ( )

Definition at line 44 of file class.ilMDLanguageItem.php.

References $lang, $language_code, and _getPossibleLanguageCodes().

{
if(in_array($this->language_code,$lang))
{
}
return false;
}

+ Here is the call graph for this function:

ilMDLanguageItem::ilMDLanguageItem (   $a_code)

Definition at line 38 of file class.ilMDLanguageItem.php.

{
$this->language_code = $a_code;
}
ilMDLanguageItem::ilMDLanguageItem (   $a_code)

Definition at line 38 of file class.ilMDLanguageItem.php.

{
$this->language_code = $a_code;
}

Field Documentation

ilMDLanguageItem::$language_code

Definition at line 34 of file class.ilMDLanguageItem.php.

Referenced by getLanguageCode().

ilMDLanguageItem::$possible_language_codes = array()

Definition at line 35 of file class.ilMDLanguageItem.php.


The documentation for this class was generated from the following files: