static public function identifyFirstLanguage($values)
    {
        $returnValue = '';

        if (count($values) > 0) {
            $previousLanguage = $values[0]['language'];
            $returnValue = $previousLanguage;
            
            foreach ($values as $value) {
                if ($value['language'] == $previousLanguage) {
                    continue;
                } else {
                    $returnValue = $previousLanguage;
                    break;
                }
            }
        }

        return $returnValue;
    }
static public function identifyFirstLanguage($values)
    {
        $returnValue = '';

        if (count($values) > 0) {
            $previousLanguage = $values[0]['language'];
            $returnValue = $previousLanguage;
            
            foreach ($values as $value) {
                if ($value['language'] == $previousLanguage) {
                    continue;
                } else {
                    $returnValue = $previousLanguage;
                    break;
                }
            }
        }

        return $returnValue;
    }
static public function identifyFirstLanguage ( $ values ) { $ returnValue = '' ; if ( count ( $ values ) > 0 ) { $ previousLanguage = $ values [ 0 ] [ 'language' ] ; $ returnValue = $ previousLanguage ; foreach ( $ values as $ value ) { if ( $ value [ 'language' ] == $ previousLanguage ) { continue ; } else { $ returnValue = $ previousLanguage ; break ; } } } return $ returnValue ; }
Short description of method identifyFirstLanguage

@access public
@author Cédric Alfonsi, <cedric.alfonsi@tudor.lu>
@param  array values
@return string
Short description of method identifyFirstLanguage