public function executeGetmarketingoptions($request)
 {
     $branch_id = 0;
     $this->marketing_options = sfConfig::get('mod_client_marketing_options');
     $branch_id = $request->getParameter('branch_id');
     if ($branch_id) {
         $branch_id = $request->getParameter('branch_id');
         $branch_service = new BranchService($branch_id, $this->sf_user_id);
         $this->marketing_options = $branch_service->getMarketingOptionList();
         //            $this->marketing_options = array(1=>'a', 2=>'b', 3=>'c',4=>'d', 5=>'e', 6=>'f', 7=>'g');
     }
     $this->getResponse()->setHttpHeader('Content-type', 'application/json');
     return $this->renderText(json_encode($this->marketing_options));
 }