original_string: protected function setNonExistent($nonexistent)
      {
          if ($nonexistent) {
              $translatedNonexistent = [];
              foreach($nonexistent as $right=>$values) {
                  foreach($values as $key=>$value) {
                      if ($key == 'menu') {
                          continue;
                      }
                      $translatedNonexistent[$right][$this->_(ucfirst($key))] = $value;
                  }
              }
  
              $this->indexParameters['tableTitle']  = $this->_('Assigned but nonexistent privileges');
              $this->indexParameters['tableData']   = $translatedNonexistent;
              $this->indexParameters['tableNested'] = true;
  
              $this->indexStopSnippets[] = 'Generic\\DataTableSnippet';
          }
      }
code: protected function setNonExistent($nonexistent)
      {
          if ($nonexistent) {
              $translatedNonexistent = [];
              foreach($nonexistent as $right=>$values) {
                  foreach($values as $key=>$value) {
                      if ($key == 'menu') {
                          continue;
                      }
                      $translatedNonexistent[$right][$this->_(ucfirst($key))] = $value;
                  }
              }
  
              $this->indexParameters['tableTitle']  = $this->_('Assigned but nonexistent privileges');
              $this->indexParameters['tableData']   = $translatedNonexistent;
              $this->indexParameters['tableNested'] = true;
  
              $this->indexStopSnippets[] = 'Generic\\DataTableSnippet';
          }
      }
code_tokens: protected function setNonExistent ( $ nonexistent ) { if ( $ nonexistent ) { $ translatedNonexistent = [ ] ; foreach ( $ nonexistent as $ right => $ values ) { foreach ( $ values as $ key => $ value ) { if ( $ key == 'menu' ) { continue ; } $ translatedNonexistent [ $ right ] [ $ this -> _ ( ucfirst ( $ key ) ) ] = $ value ; } } $ this -> indexParameters [ 'tableTitle' ] = $ this -> _ ( 'Assigned but nonexistent privileges' ) ; $ this -> indexParameters [ 'tableData' ] = $ translatedNonexistent ; $ this -> indexParameters [ 'tableNested' ] = true ; $ this -> indexStopSnippets [ ] = 'Generic\\DataTableSnippet' ; } }
docstring: Set assigned but nonexistent privileges and a snippet at the bottom of the page
  @param array $nonexistent list of assigned but nonexistent privileges
docstring_tokens: Set assigned but nonexistent privileges and a snippet at the bottom of the page