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

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

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

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

        return $result;
    }
static function languagesByMask ( $ mask ) { $ result = array ( ) ; $ languages = eZContentLanguage :: fetchList ( ) ; foreach ( $ languages as $ key => $ language ) { if ( ( int ) $ key & ( int ) $ mask ) { $ result [ $ language -> attribute ( 'locale' ) ] = $ language ; } } return $ result ; }
Returns array of 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 languages which have set the corresponding bit in $mask.
Returns array of languages which have set the corresponding bit in the mask .