kernel/classes/ezcontentlanguage.php
static function prioritizedLanguagesByMask( $mask )
    {
        $result = array();

        $languages = eZContentLanguage::prioritizedLanguages();
        foreach ( $languages as $language )
        {
            if ( ( (int) $language->attribute( 'id' ) & (int) $mask ) > 0 )
            {
                $result[$language->attribute( 'locale' )] = $language;
            }
        }

        return $result;
    }
static function prioritizedLanguagesByMask( $mask )
    {
        $result = array();

        $languages = eZContentLanguage::prioritizedLanguages();
        foreach ( $languages as $language )
        {
            if ( ( (int) $language->attribute( 'id' ) & (int) $mask ) > 0 )
            {
                $result[$language->attribute( 'locale' )] = $language;
            }
        }

        return $result;
    }
static function prioritizedLanguagesByMask ( $ mask ) { $ result = array ( ) ; $ languages = eZContentLanguage :: prioritizedLanguages ( ) ; foreach ( $ languages as $ language ) { if ( ( ( int ) $ language -> attribute ( 'id' ) & ( int ) $ mask ) > 0 ) { $ result [ $ language -> attribute ( 'locale' ) ] = $ language ; } } return $ result ; }
Returns array of prioritized languages which have set the corresponding bit in the mask.

\param mask Bitmap specifying which languages should be returned.
\return Array of eZContentLanguage objects of prioritized languages which have set the corresponding bit in $mask.
Returns array of prioritized languages which have set the corresponding bit in the mask .