/**
* @param $id
* @return Export
* @throws CHttpException
*/
public function loadModel($id)
{
$model = Export::model()->findByPk($id);
if ($model === null) {
throw new CHttpException(404, Yii::t('YmlModule.default', 'Page not found!'));
}
return $model;
}