lux/phpactiveresource — pull request #15 by nuams (2012-06-17 18:05:41+00:00)
Title: Another modification to support Redmine REST API

Here's another change I'd like to suggest, this time to the find() method. Currently the find() method supports adding an options string only in cases where the query is asking to get 'all'. However, Redmine's REST API has cases where it accepts an options string in cases where the query is asking to get a single ID. For example, when getting a Redmine "issue," there is an "include" option that tells the API to "fetch associated data (optional). Possible values: children, attachments, relations, changesets and journals."

http://www.redmine.org/projects/redmine/wiki/Rest_Issues

I don't think this change will break any existing functionality in the phpactiveresource library. It just adds a bit more flexibility.