-title now stored in session variable.

This commit is contained in:
mkonecny 2011-02-03 19:17:52 -05:00
parent df675bd8c6
commit 4698e963c1
6 changed files with 63 additions and 60 deletions

View file

@ -27,12 +27,10 @@ class PreferenceController extends Zend_Controller_Action
$this->view->form = $form;
return $this->render('index'); //render the phtml file
}
$auth = Zend_Auth::getInstance();
$id = $auth->getIdentity()->id;
$values = $form->getValues();
Application_Model_Preference::UpdateStationName($values["stationName"], $id);
Application_Model_Preference::SetHeadTitle($values["stationName"], $this->view);
$this->view->form = $form;
}