original_string: function is_valid_value($value) {
          if(is_array($value)) {
              if(!$this->val_multi) {
                  return false;
              }
              else {
                  foreach($value as $oneval) {
                      if(!rfc2445_is_valid_value($oneval, $this->val_type)) {
                          return false;
                      }
                  }
              }
              return true;
          }
          return rfc2445_is_valid_value($value, $this->val_type);
      }
code: function is_valid_value($value) {
          if(is_array($value)) {
              if(!$this->val_multi) {
                  return false;
              }
              else {
                  foreach($value as $oneval) {
                      if(!rfc2445_is_valid_value($oneval, $this->val_type)) {
                          return false;
                      }
                  }
              }
              return true;
          }
          return rfc2445_is_valid_value($value, $this->val_type);
      }
code_tokens: function is_valid_value ( $ value ) { if ( is_array ( $ value ) ) { if ( ! $ this -> val_multi ) { return false ; } else { foreach ( $ value as $ oneval ) { if ( ! rfc2445_is_valid_value ( $ oneval , $ this -> val_type ) ) { return false ; } } } return true ; } return rfc2445_is_valid_value ( $ value , $ this -> val_type ) ; }
docstring: Only data type validation is done here
docstring_tokens: Only data type validation is done here