/**
  * Manages all models.
  */
 public function actionAdmin()
 {
     $model = new Personsextypes('search');
     $model->unsetAttributes();
     // clear any default values
     if (isset($_GET['PersonSexTypes'])) {
         $model->attributes = $_GET['PersonSexTypes'];
     }
     $this->render('admin', array('model' => $model));
 }
 /**
  * Lists all models.
  */
 public function actionIndex()
 {
     $model = new Personsextypes('search');
     $model->unsetAttributes();
     // clear any default values
     if (isset($_GET['PersonSexTypes'])) {
         $model->attributes = $_GET['PersonSexTypes'];
     }
     $this->render('admin', array('model' => $model));
     /*
     		$dataProvider=new CActiveDataProvider('Personbasespeciality');
     		$this->render('index',array(
     			'dataProvider'=>$dataProvider,
     		));*/
 }