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 OPCREATE, OPNONE, OPUPDATE and OPDELETE, but i'm unable to use theses.

Is there a method like getType() ?

Thank's in advance



331
Accepted
answer

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