original_string: 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');
      }
code: 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');
      }
code_tokens: 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' ) ; }
docstring: Shows a list of languages.
  
  @return void
docstring_tokens: Shows a list of languages .