original_string: public function getAdminLanguages() {
          $response=CodeBank_ClientAPI::responseBase();
          
          $languages=SnippetLanguage::get();
          foreach($languages as $lang) {
              $response['data'][]=array(
                                      'id'=>$lang->ID,
                                      'language'=>$lang->Name,
                                      'file_extension'=>$lang->FileExtension,
                                      'shjh_code'=>$lang->HighlightCode,
                                      'user_language'=>$lang->UserLanguage,
                                      'snippetCount'=>$lang->Snippets()->Count(),
                                      'hidden'=>$lang->Hidden
                                  );
          }
          
          
          return $response;
      }
code: public function getAdminLanguages() {
          $response=CodeBank_ClientAPI::responseBase();
          
          $languages=SnippetLanguage::get();
          foreach($languages as $lang) {
              $response['data'][]=array(
                                      'id'=>$lang->ID,
                                      'language'=>$lang->Name,
                                      'file_extension'=>$lang->FileExtension,
                                      'shjh_code'=>$lang->HighlightCode,
                                      'user_language'=>$lang->UserLanguage,
                                      'snippetCount'=>$lang->Snippets()->Count(),
                                      'hidden'=>$lang->Hidden
                                  );
          }
          
          
          return $response;
      }
code_tokens: public function getAdminLanguages ( ) { $ response = CodeBank_ClientAPI :: responseBase ( ) ; $ languages = SnippetLanguage :: get ( ) ; foreach ( $ languages as $ lang ) { $ response [ 'data' ] [ ] = array ( 'id' => $ lang -> ID , 'language' => $ lang -> Name , 'file_extension' => $ lang -> FileExtension , 'shjh_code' => $ lang -> HighlightCode , 'user_language' => $ lang -> UserLanguage , 'snippetCount' => $ lang -> Snippets ( ) -> Count ( ) , 'hidden' => $ lang -> Hidden ) ; } return $ response ; }
docstring: Gets the list of languages with snippet counts
  @return {array} Standard response base
docstring_tokens: Gets the list of languages with snippet counts