src/Common/Service/Language.php
public function getAllEnabled()
    {
        $aEnabled = $this->oCi->config->item('languages_enabled');
        $aOut     = [];

        foreach ($aEnabled as $sCode) {
            $aOut[] = $this->getByCode($sCode);
        }

        return array_filter($aOut);
    }
public function getAllEnabled()
    {
        $aEnabled = $this->oCi->config->item('languages_enabled');
        $aOut     = [];

        foreach ($aEnabled as $sCode) {
            $aOut[] = $this->getByCode($sCode);
        }

        return array_filter($aOut);
    }
public function getAllEnabled ( ) { $ aEnabled = $ this -> oCi -> config -> item ( 'languages_enabled' ) ; $ aOut = [ ] ; foreach ( $ aEnabled as $ sCode ) { $ aOut [ ] = $ this -> getByCode ( $ sCode ) ; } return array_filter ( $ aOut ) ; }
Returns all the enabled languages

@return array
Returns all the enabled languages