original_string: final protected static function get_property_error_message($property) {
          $properties = static::properties_definition();
          if (!isset($properties[$property]['message'])) {
              return new lang_string('invaliddata', 'error');
          }
          return $properties[$property]['message'];
      }
code: final protected static function get_property_error_message($property) {
          $properties = static::properties_definition();
          if (!isset($properties[$property]['message'])) {
              return new lang_string('invaliddata', 'error');
          }
          return $properties[$property]['message'];
      }
code_tokens: final protected static function get_property_error_message ( $ property ) { $ properties = static :: properties_definition ( ) ; if ( ! isset ( $ properties [ $ property ] [ 'message' ] ) ) { return new lang_string ( 'invaliddata' , 'error' ) ; } return $ properties [ $ property ] [ 'message' ] ; }
docstring: Gets the error message for a property.
  
  This assumes that the property exists.
  
  @param string $property The property name.
  @return lang_string
docstring_tokens: Gets the error message for a property .