public function index()
    {
        $this->loadModel('Locale.Languages');
        $languages = $this->Languages
            ->find()
            ->order(['ordering' => 'ASC'])
            ->all();

        $this->title(__d('locale', 'Languages List'));
        $this->set('languages', $languages);
        $this->Breadcrumb->push('/admin/locale');
    }
public function index()
    {
        $this->loadModel('Locale.Languages');
        $languages = $this->Languages
            ->find()
            ->order(['ordering' => 'ASC'])
            ->all();

        $this->title(__d('locale', 'Languages List'));
        $this->set('languages', $languages);
        $this->Breadcrumb->push('/admin/locale');
    }
public function index ( ) { $ this -> loadModel ( 'Locale.Languages' ) ; $ languages = $ this -> Languages -> find ( ) -> order ( [ 'ordering' => 'ASC' ] ) -> all ( ) ; $ this -> title ( __d ( 'locale' , 'Languages List' ) ) ; $ this -> set ( 'languages' , $ languages ) ; $ this -> Breadcrumb -> push ( '/admin/locale' ) ; }
Shows a list of languages.

@return void
Shows a list of languages .