public function xSendFile($file, $options = array())
    {
        Yii::app()->request->xSendFile($file->resolvePath(), $options);
    }
public function xSendFile($file, $options = array())
    {
        Yii::app()->request->xSendFile($file->resolvePath(), $options);
    }
public function xSendFile ( $ file , $ options = array ( ) ) { Yii :: app ( ) -> request -> xSendFile ( $ file -> resolvePath ( ) , $ options ) ; }
Sends the file associated with the given model to the user using x-sendfile.
@param File $file the file model.
@param array $options additional options.
@see CHttpRequest::xSendFile
Sends the file associated with the given model to the user using x - sendfile .