SkyPHP/skyphp — pull request #98 by stanistan (2012-07-02 23:18:10+00:00)
Title: Model validation and some AQL updates

- wrap validation in a transaction as well
- validation will not run set_field methods for fields that already have errors
- validation will only break on the steps if we are using string errors, not ValidationErrors (bc)
- refactored global $dbw so that dependency is in only one place
- Model::addInternalError() and static $internal_errors so these are consistent with $possible_errors
- getByClause/getMany/getOne now use getList()