I have a Doctrine_Collection
object that was created with code that looks something like.
$collection = Doctrine_Query::create()
->from('FooBazBar')
->where('widget_id = ?',$some_var)
->execute();
Short of writing it down somewhere, is it possible to to retrieve the where clause that was used to create the collection?
That is, I want to be able to so something like
$collection->getWhereClauses(); //fake method
And get back the where clause in some form.
A definitive "no, this isn't exposed via the API" with an explanation is a perfectly reasonable answer here.