/**
  * Load Langue model
  * @param integer $id
  * @return Langue
  * @throws CHttpException
  */
 protected function loadModel($id = null)
 {
     if (null === $id) {
         $model = new Langue();
     } else {
         $model = Langue::model()->findByPk($id);
     }
     if ($model instanceof CModel) {
         $model->titleField = 'name';
         return $model;
     }
     throw new CHttpException(404, 'Item not found');
 }