phpDataMapper
phpDataMapper copied to clipboard
Object-Oriented PHP5 DataMapper ORM
Pull request for [this post](https://github.com/vlucas/phpDataMapper/issues#issue/6) Separated out field validation logic within phpDataMapper_Base::field() to protected phpDataMapper_Base::loadFields(array $fields) to give classes that extend from the base more flexibility in defining their fields....
I'm not sure if this has been already covered somewhere (seem not to be able to find it). I have a following problem: I created a mapper class, ran a...
Need a better way of setting table engine ("MyISAM", "InnoDB", etc.) through the mapper class instead of tying it to the adapter, which forces you to create multiple adapters if...
From [relationships documentation](http://phpdatamapper.com/documentation/usage/table-relationships/): "Currently, the above ‘HasMany’ example will incur N+1 queries. That is, one query will be executed for each set of comments requested for each post. So if...
There is no support for self referencing relationships without writing out the entire mapper name. Solution: add a "self" keyword to a relationship definition. Allow something like: public $parent =...