/** * Save selected branch id in session variable, for client save in case brach owner is handling more than one branch. * @param webrequest $request * @return nothing */ public function executeSavebranch($request) { $sf_user = $this->getUser(); $branch_id = $request->getParameter("bid"); $sf_user->setAttribute('branch_id', $branch_id); $this->clientopportunity = clientRankPeer::getClientRankList($branch_id); }