Can I retrieve infor from CDbCriteria or CActiveDataProvider ?

HI, i’m storing the CActiveDataProvider in the search method of the model.

So I can use it in another action ( don’t know if the best practice, but it works !)

My another action is a process,and I want to know if the user selected a specific search condition.

For example:

I have a list of draft invoices, and the user should select year and month, prior to process invoices from draft to invoiced…

So I need to know if the attributes "month" and "year" are filtered inside CActiveDataProvider, more specifically in CDBCriteria …

Is any way to do that ??

Regards

I get it:


if ($_SESSION['datos_filtro']->model instanceof Cuota)

	echo "<br/>.:".$_SESSION['datos_filtro']->model->mes_calendario.":.";