Articles Posted in the " Yii Request " Category

  • Yii CHttpRequest

    Yii CHttpRequest

    CHttpRequest is equal to ‘$_SERVER’. we are using ‘$_SERVER’ variable to get the details of request, scripts, headers etc. We can get this information using CHttpRequest class. We can access the CHttpRequest via Yii::app()->request. […]