original_string: public function addPlanPage($label)
      {
          $infoPage = $this->addContainer($label);
  
          $page = $infoPage->addPage($this->_('Track Summary'), 'pr.plan.summary', 'summary', 'index');
          $page->addAutofilterAction();
          $page->addExportAction();
  
          $page = $infoPage->addPage($this->_('Track Compliance'), 'pr.plan.compliance', 'compliance', 'index');
          $page->addAutofilterAction();
          $page->addExportAction();
  
          $page = $infoPage->addPage($this->_('Track Field Utilization'), 'pr.plan.fields', 'field-report', 'index');
          $page->addAutofilterAction();
          $page->addExportAction();
  
          $page = $infoPage->addPage($this->_('Track Field Content'), 'pr.plan.fields', 'field-overview', 'index');
          $page->addAutofilterAction();
          $page->addExportAction();
  
          $plans[] = $infoPage->addPage($this->_('By period'), 'pr.plan.overview', 'overview-plan', 'index');
          $plans[] = $infoPage->addPage($this->_('By token'), 'pr.plan.token', 'token-plan', 'index');
          $plans[] = $infoPage->addPage($this->_('By respondent'), 'pr.plan.respondent', 'respondent-plan', 'index');
  
          foreach ($plans as $plan) {
              $plan->addAutofilterAction();
              $plan->addAction($this->_('Bulk mail'), 'pr.token.bulkmail', 'email', array('routeReset' => false));
              $plan->addExportAction();
          }
  
          $page = $infoPage->addPage($this->_('Respondent status'), 'pr.plan.consent', 'consent-plan', 'index');
          $page->addShowAction();
          $page->addExportAction();
  
          return $infoPage;
      }
code: public function addPlanPage($label)
      {
          $infoPage = $this->addContainer($label);
  
          $page = $infoPage->addPage($this->_('Track Summary'), 'pr.plan.summary', 'summary', 'index');
          $page->addAutofilterAction();
          $page->addExportAction();
  
          $page = $infoPage->addPage($this->_('Track Compliance'), 'pr.plan.compliance', 'compliance', 'index');
          $page->addAutofilterAction();
          $page->addExportAction();
  
          $page = $infoPage->addPage($this->_('Track Field Utilization'), 'pr.plan.fields', 'field-report', 'index');
          $page->addAutofilterAction();
          $page->addExportAction();
  
          $page = $infoPage->addPage($this->_('Track Field Content'), 'pr.plan.fields', 'field-overview', 'index');
          $page->addAutofilterAction();
          $page->addExportAction();
  
          $plans[] = $infoPage->addPage($this->_('By period'), 'pr.plan.overview', 'overview-plan', 'index');
          $plans[] = $infoPage->addPage($this->_('By token'), 'pr.plan.token', 'token-plan', 'index');
          $plans[] = $infoPage->addPage($this->_('By respondent'), 'pr.plan.respondent', 'respondent-plan', 'index');
  
          foreach ($plans as $plan) {
              $plan->addAutofilterAction();
              $plan->addAction($this->_('Bulk mail'), 'pr.token.bulkmail', 'email', array('routeReset' => false));
              $plan->addExportAction();
          }
  
          $page = $infoPage->addPage($this->_('Respondent status'), 'pr.plan.consent', 'consent-plan', 'index');
          $page->addShowAction();
          $page->addExportAction();
  
          return $infoPage;
      }
code_tokens: public function addPlanPage ( $ label ) { $ infoPage = $ this -> addContainer ( $ label ) ; $ page = $ infoPage -> addPage ( $ this -> _ ( 'Track Summary' ) , 'pr.plan.summary' , 'summary' , 'index' ) ; $ page -> addAutofilterAction ( ) ; $ page -> addExportAction ( ) ; $ page = $ infoPage -> addPage ( $ this -> _ ( 'Track Compliance' ) , 'pr.plan.compliance' , 'compliance' , 'index' ) ; $ page -> addAutofilterAction ( ) ; $ page -> addExportAction ( ) ; $ page = $ infoPage -> addPage ( $ this -> _ ( 'Track Field Utilization' ) , 'pr.plan.fields' , 'field-report' , 'index' ) ; $ page -> addAutofilterAction ( ) ; $ page -> addExportAction ( ) ; $ page = $ infoPage -> addPage ( $ this -> _ ( 'Track Field Content' ) , 'pr.plan.fields' , 'field-overview' , 'index' ) ; $ page -> addAutofilterAction ( ) ; $ page -> addExportAction ( ) ; $ plans [ ] = $ infoPage -> addPage ( $ this -> _ ( 'By period' ) , 'pr.plan.overview' , 'overview-plan' , 'index' ) ; $ plans [ ] = $ infoPage -> addPage ( $ this -> _ ( 'By token' ) , 'pr.plan.token' , 'token-plan' , 'index' ) ; $ plans [ ] = $ infoPage -> addPage ( $ this -> _ ( 'By respondent' ) , 'pr.plan.respondent' , 'respondent-plan' , 'index' ) ; foreach ( $ plans as $ plan ) { $ plan -> addAutofilterAction ( ) ; $ plan -> addAction ( $ this -> _ ( 'Bulk mail' ) , 'pr.token.bulkmail' , 'email' , array ( 'routeReset' => false ) ) ; $ plan -> addExportAction ( ) ; } $ page = $ infoPage -> addPage ( $ this -> _ ( 'Respondent status' ) , 'pr.plan.consent' , 'consent-plan' , 'index' ) ; $ page -> addShowAction ( ) ; $ page -> addExportAction ( ) ; return $ infoPage ; }
docstring: Add a list of report pages
  
  @param string $label         The label to display for the menu item, null for access without display
  @return \Gems_Menu_SubMenuItem
docstring_tokens: Add a list of report pages