original_string: protected function getHumanReadableIndicatorValues($rules)
      {
          // No processing needed for blank rule:
          if ($rules == 'blank') {
              return $rules;
          }
  
          // Create string:
          $string = '';
          $length = strlen($rules);
          for ($i = 0; $i < $length; $i++) {
              $current = substr($rules, $i, 1);
              if ($current == 'b') {
                  $current = 'blank';
              }
              $string .= $current;
              if ($length - $i == 2) {
                  $string .= ' or ';
              } else if ($length - $i > 2) {
                  $string .= ', ';
              }
          }
  
          return $string;
      }
code: protected function getHumanReadableIndicatorValues($rules)
      {
          // No processing needed for blank rule:
          if ($rules == 'blank') {
              return $rules;
          }
  
          // Create string:
          $string = '';
          $length = strlen($rules);
          for ($i = 0; $i < $length; $i++) {
              $current = substr($rules, $i, 1);
              if ($current == 'b') {
                  $current = 'blank';
              }
              $string .= $current;
              if ($length - $i == 2) {
                  $string .= ' or ';
              } else if ($length - $i > 2) {
                  $string .= ', ';
              }
          }
  
          return $string;
      }
code_tokens: protected function getHumanReadableIndicatorValues ( $ rules ) { // No processing needed for blank rule: if ( $ rules == 'blank' ) { return $ rules ; } // Create string: $ string = '' ; $ length = strlen ( $ rules ) ; for ( $ i = 0 ; $ i < $ length ; $ i ++ ) { $ current = substr ( $ rules , $ i , 1 ) ; if ( $ current == 'b' ) { $ current = 'blank' ; } $ string .= $ current ; if ( $ length - $ i == 2 ) { $ string .= ' or ' ; } else if ( $ length - $ i > 2 ) { $ string .= ', ' ; } } return $ string ; }
docstring: Turn a set of indicator rules into a human-readable list.
  
  @param string $rules Indicator rules
  
  @return string
docstring_tokens: Turn a set of indicator rules into a human - readable list .