cakephp/cakephp — pull request #2917 by lorenzo (2014-02-28 17:48:10+00:00)
Title: 3.0 - adding isPrimaryKey to form Context classes

In order to still support magic hidden inputs for associated tables in the form helper, I added isPrimaryKey to the form context classes. This method will do a deep check on the passed field name to determine whether the field is part of the primary key for the specific path