Using Yii app with ios app software architecture question

So I have my Web Application made with Yii and I am making an ios companion app. I am using json to pass data between the server and ios app.

Here’s my question: Since I will be requiring data from all my models I need to write seperate action functions for most of the features my web app provides, for when it’s the ios app that is requesting the action (and not the web app).

Is it a better idea to write these seperate functions each in their original Controller, or should I make a seperate iosAppController.php that provides all the functions I will need?

Thanks for your help

It’s a good practice to set one url for all api requests, the only change query params.

I would recommend you create a separate module for your json api’s as if you need to move that to separate domain it will be easy.