Onedataprovider In Two Function

hey Can I use one dataprovider in two function in yii

Hi sldra,

What exactly do you want to do?

Please be more specific, or nobody can answer your question.


If you want to use a dataprovider in two or more places with same data you can save this provider either model or controller and use it directly in different function, but as softark said, you have to give us more specific details…