It would be nice if RDF_Literal had a function which would cast the value to the corresponding php data type before returning the value. So when I save an integer to the RDF, it will ensure that I will receive an integer back from the RDF. Attached patch suggests such a function.

CommentFileSizeAuthor
r.patch767 bytesmiglius
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

smustgrave’s picture

Issue summary: View changes
Status: Needs review » Closed (outdated)