Simple Web APIs for your Yii App

Comparing #4 with #6

Content

[...]
Yii::app()->end();
}
```


API Action Code
 
---------------
 
 
This is how you can modify you actual action code.It should not have render code. I have a array having few parameter like status, action, controller which i want to return back to mobile app. This is required if your APIs are called asynchronously. So response should have details on which action was called.
[...]
```

Example
:  Code
 
------------
 
[http://iseetv.biz/api/](
http://iseetv.biz/api/
 
 "Test Code: Api Response")
 
[http://t1.toxsl.in/download.php?file=eWlpX2FwaXRlc3Quemlw](
http://t1.toxsl.in/download.php?file=eWlpX2FwaXRlc3Quemlw "Yii API Sample Test Code") [ Only for 30 days ]