cakephp/cakephp — pull request #684 by adael (2012-06-06 12:44:04+00:00)
Title: 2.2

I have add to Model two functions (and the corresponding tests in ModelReadTest):

public function get($field, $defaultValue = null);
public function check($field);

To facilitate use of data in model and get rid of

$this->data[$this->alias]['user_name'];

that could be

$this->get('user_name')

I have more proposals on model layer, but are difficult for me to explain them in english, so I'm trying to send the pull requests atomic and concise.

Hope you like!
Best regards.