//YII framework pathYii::getFrameworkPath();
//protected/runtimeYii::app()->getRuntimePath();
//Get the ID method of the current controller in the view:Yii::app()->getController()->id;
//Get the ID method of the current action in the viewYii::app()->getController()->getAction()->id;
//yii get ip addressYii::app()->request->userHostAddress;
//yii judges the submission method
Yii::app()->request->isPostRequest;
//Get the current domain name:Yii::app()->request->hostInfo;
//Get the physical path of the protected directoryYii::app()->basePath;
//Get the url of the previous page to returnYii::app()->request->urlReferrer;
// get the current urlYii::app()->request->url;
// get the current home urlYii::app()->homeUrl;
//get the current return urlYii::app()->user->returnUrl
// project pathdirname(Yii::app()->BasePath);