SkyPHP/skyphp — pull request #62 by stanistan (2012-05-25 17:29:20+00:00)
Title: Model updates

- tabs -> spaces
- first param to Model::__construct can be an array or stdClass, these will trigger loadArray
- more descriptive Exceptions thrown
- loadDB() throws InvalidArgumentException when called without an identifier instead of adding to $_errors
- custom Exception class added for model not found on loadDB(), but not using it yet due to BC breaks

---

Exception currently called `ModelNotFoundException`, is this the right naming or should it be something else?

**Note:** this is not being used yet.