openpne/OpenPNE3 — pull request #49 by ebihara (2012-06-05 16:49:32+00:00)
Title: Add new event: "record.method_not_found

I added `record.method_not_found` event on `opDoctrineRecord::__call()` for injection of new method from my own plugin.

This commit allow you to define `Member::fooBar()` from a plugin by the following code::

```php
connect('record.method_not_found', function ($event) {
if ($event->getSubject() instanceof Member && 'fooBar' === $event['method'])
{
$event->setReturnValue('blahblahblah...');

return true;
}
});
```

I will merge this after my hardworking but if you appreciate this request please merge this by next development release.