Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

Get the operation type on a collection

Hello all,

I'm looking for the better solution to get the operation type on a collection. We've some constants like OP_CREATE, OP_NONE, OP_UPDATE and OP_DELETE, but i'm unable to use theses.

Is there a method like getType() ?

Thank's in advance


Post solved, i'm sorry. We can do it via $_operationMade.