kernel/classes/ezcontentlanguage.php
static function fetchLimitationList( $forceReloading = false )
    {
        $languages = array();
        foreach ( eZContentLanguage::fetchList( $forceReloading ) as $language )
        {
            $languages[] = array( 'name' => $language->attribute( 'name' ),
                                  'id' => $language->attribute( 'locale' ) );
        }
        return $languages;
    }
static function fetchLimitationList( $forceReloading = false )
    {
        $languages = array();
        foreach ( eZContentLanguage::fetchList( $forceReloading ) as $language )
        {
            $languages[] = array( 'name' => $language->attribute( 'name' ),
                                  'id' => $language->attribute( 'locale' ) );
        }
        return $languages;
    }
static function fetchLimitationList ( $ forceReloading = false ) { $ languages = array ( ) ; foreach ( eZContentLanguage :: fetchList ( $ forceReloading ) as $ language ) { $ languages [ ] = array ( 'name' => $ language -> attribute ( 'name' ) , 'id' => $ language -> attribute ( 'locale' ) ) ; } return $ languages ; }
Fetches the array with names and IDs of the languages used on the site. This method is used by the permission system.

\param forceReloading Optional. If true, the list will be fetched from database even if it is cached in memory.
Default value is false.
\return Array with names and IDs of the languages used on the site.
\static
Fetches the array with names and IDs of the languages used on the site . This method is used by the permission system .