From 5e5c6480b7cc5e15efc3d80920c5c2d9b73a3cca Mon Sep 17 00:00:00 2001 From: Tom Anderson Date: Mon, 19 Jan 2015 20:23:23 -0700 Subject: [PATCH 1/2] New release 0.3 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index edbe8c5f..9e9ae8cb 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Installation of this module uses composer. For composer documentation, please re [getcomposer.org](http://getcomposer.org/). ```sh -$ php composer.phar require zfcampus/zf-apigility-doctrine "~0.2" +$ php composer.phar require zfcampus/zf-apigility-doctrine "~0.3" ``` This library provides two modules. The first, ZF\Apigility\Doctrine\Server provides From 201a868d50e3b0bbbe35237a738f0161556d822f Mon Sep 17 00:00:00 2001 From: Tom Anderson Date: Mon, 19 Jan 2015 20:25:45 -0700 Subject: [PATCH 2/2] Add patch-all to readme --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9e9ae8cb..280052f7 100644 --- a/README.md +++ b/README.md @@ -63,9 +63,8 @@ Custom Events It is possible to hook in on specific doctrine events of the type `DoctrineResourceEvent`. This way, it is possible to alter the doctrine entities or collections before or after a specific action is performed. -The EVENT_FETCH_ALL_PRE works on the Query Builder from the fetch all query. This allows you to modify the Query Builder before a fetch is performed. -A list of all supported events: +Supported events: ``` EVENT_FETCH_POST = 'fetch.post'; EVENT_FETCH_ALL_PRE = 'fetch-all.pre'; @@ -78,6 +77,8 @@ EVENT_PATCH_PRE = 'patch.pre'; EVENT_PATCH_POST = 'patch.post'; EVENT_PATCH_PRE = 'patch.pre'; EVENT_PATCH_POST = 'patch.post'; +EVENT_PATCH_LIST_PRE = 'patch-all.pre'; +EVENT_PATCH_LIST_POST = 'patch-all.post'; EVENT_DELETE_PRE = 'delete.pre'; EVENT_DELETE_POST = 'delete.post'; ```