original_string: public function validate($value) {
          if (!$this->wasvalidated) {
              $this->prepare_data($value, true);
          }
          return $this->validationerrors;
      }
code: public function validate($value) {
          if (!$this->wasvalidated) {
              $this->prepare_data($value, true);
          }
          return $this->validationerrors;
      }
code_tokens: public function validate ( $ value ) { if ( ! $ this -> wasvalidated ) { $ this -> prepare_data ( $ value , true ) ; } return $ this -> validationerrors ; }
docstring: Validates that rubric has at least one criterion, at least two levels within one criterion,
  each level has a valid score, all levels have filled definitions and all criteria
  have filled descriptions
  
  @param array $value
  @return string|false error text or false if no errors found
docstring_tokens: Validates that rubric has at least one criterion at least two levels within one criterion each level has a valid score all levels have filled definitions and all criteria have filled descriptions