Skip Navigation
Remove

Added relationship_name_of to util.php

February 9, 2006 at 10:10 am
By nwhite

The entity selector functions add_right_relationship_field and add_left_relationship_field take the name of an allowable relationship as a parameter, but not the id. I added a utility function to get the name of a relationship from the id. The alternative would have been to change the entity selector functions to accept either a name "or" id but it seemed like a useful function to have available anyway, and technically a relationship could have an integer name (though it would not likely be a good name choice!).

Add a comment

Name*
Comment*
The following fields are not to be filled out. Skip to Submit Button.
Not Comment
(This is here to trap robots. Don't put any text here.)
Not URL
(This is here to trap robots. Don't put any text here.)
Avoid
(This is here to trap robots. Don't put any text here.)