original_string: public function addOpenRosaContainer($label, $parent = null)
      {
          if ($this->escort->getOption('useOpenRosa')) {
              if (is_null($parent)) {
                  $parent = $this;
              }
              $page = $parent->addBrowsePage($label, 'pr.openrosa','openrosa');
              $page->addButtonOnly($this->_('Scan Responses'), 'pr.openrosa.scan', 'openrosa', 'scanresponses');
              $this->addPage(null, null, 'openrosa', 'submission');
              $this->addPage(null, null, 'openrosa', 'formList'); //mind the capital L here
              $this->addPage(null, null, 'openrosa', 'download');
              $this->addPage(null, null, 'openrosa', 'barcode'); // For barcode rendering
              $this->addPage(null, 'pr.islogin', 'openrosa', 'image'); // For image rendering
  
              $this->addPage(null, null, 'open-rosa-form', 'edit');
          }
      }
code: public function addOpenRosaContainer($label, $parent = null)
      {
          if ($this->escort->getOption('useOpenRosa')) {
              if (is_null($parent)) {
                  $parent = $this;
              }
              $page = $parent->addBrowsePage($label, 'pr.openrosa','openrosa');
              $page->addButtonOnly($this->_('Scan Responses'), 'pr.openrosa.scan', 'openrosa', 'scanresponses');
              $this->addPage(null, null, 'openrosa', 'submission');
              $this->addPage(null, null, 'openrosa', 'formList'); //mind the capital L here
              $this->addPage(null, null, 'openrosa', 'download');
              $this->addPage(null, null, 'openrosa', 'barcode'); // For barcode rendering
              $this->addPage(null, 'pr.islogin', 'openrosa', 'image'); // For image rendering
  
              $this->addPage(null, null, 'open-rosa-form', 'edit');
          }
      }
code_tokens: public function addOpenRosaContainer ( $ label , $ parent = null ) { if ( $ this -> escort -> getOption ( 'useOpenRosa' ) ) { if ( is_null ( $ parent ) ) { $ parent = $ this ; } $ page = $ parent -> addBrowsePage ( $ label , 'pr.openrosa' , 'openrosa' ) ; $ page -> addButtonOnly ( $ this -> _ ( 'Scan Responses' ) , 'pr.openrosa.scan' , 'openrosa' , 'scanresponses' ) ; $ this -> addPage ( null , null , 'openrosa' , 'submission' ) ; $ this -> addPage ( null , null , 'openrosa' , 'formList' ) ; //mind the capital L here $ this -> addPage ( null , null , 'openrosa' , 'download' ) ; $ this -> addPage ( null , null , 'openrosa' , 'barcode' ) ; // For barcode rendering $ this -> addPage ( null , 'pr.islogin' , 'openrosa' , 'image' ) ; // For image rendering $ this -> addPage ( null , null , 'open-rosa-form' , 'edit' ) ; } }
docstring: Shortcut function to add all items needed for OpenRosa
  
  Should be enabled in application.ini by using useOpenRosa = 1
  
  @param string $label Label for the container
docstring_tokens: Shortcut function to add all items needed for OpenRosa