برنامه نویسی php
How to get response as json format(application/json) in yii?
Create this function in your (base) Controller:

برنامه نویسی php
How to get response as json format(application/json) in yii?
Create this function in your (base) Controller:
