Ejemplo n.º 1
0
 public function viewAction()
 {
     $table = new Model_DbTable_Users();
     $select = $table->select()->where('username = ?', $this->_getParam('username'));
     $user = $table->fetchRow($select);
     $this->view->headTitle($user->realname);
     $this->view->user = $user;
 }