private function listDataboxTerms(\databox $databox)
    {
        $ret = [];
        foreach ($databox->get_cgus() as $locale => $array_terms) {
            $ret[] = ['locale' => $locale, 'terms' => $array_terms['value']];
        }

        return $ret;
    }
private function listDataboxTerms(\databox $databox)
    {
        $ret = [];
        foreach ($databox->get_cgus() as $locale => $array_terms) {
            $ret[] = ['locale' => $locale, 'terms' => $array_terms['value']];
        }

        return $ret;
    }
private function listDataboxTerms ( \ databox $ databox ) { $ ret = [ ] ; foreach ( $ databox -> get_cgus ( ) as $ locale => $ array_terms ) { $ ret [ ] = [ 'locale' => $ locale , 'terms' => $ array_terms [ 'value' ] ] ; } return $ ret ; }
Retrieve CGU's for the specified \databox

@param  \databox $databox

@return array
Retrieve CGU s for the specified \ databox