original_string: protected function skip_row($capability) {
          $perm = $this->permissions[$capability->name];
          if ($perm == CAP_INHERIT) {
              // Do not print empty rows in role overview, admins need to know quickly what is allowed and prohibited,
              // if they want to see the list of all capabilities they can go to edit role page.
              return true;
          }
          parent::skip_row($capability);
      }
code: protected function skip_row($capability) {
          $perm = $this->permissions[$capability->name];
          if ($perm == CAP_INHERIT) {
              // Do not print empty rows in role overview, admins need to know quickly what is allowed and prohibited,
              // if they want to see the list of all capabilities they can go to edit role page.
              return true;
          }
          parent::skip_row($capability);
      }
code_tokens: protected function skip_row ( $ capability ) { $ perm = $ this -> permissions [ $ capability -> name ] ; if ( $ perm == CAP_INHERIT ) { // Do not print empty rows in role overview, admins need to know quickly what is allowed and prohibited, // if they want to see the list of all capabilities they can go to edit role page. return true ; } parent :: skip_row ( $ capability ) ; }
docstring: Returns true if the row should be skipped.
  
  @param string $capability
  @return bool
docstring_tokens: Returns true if the row should be skipped .