original_string: protected function initialize($storage)
      {
          $this->parameters[self::PARAMETER_SMALLEST_IMAGE] = $storage->getImageSet()->getSmallestImageSet();
          $this->parameters[self::PARAMETER_CMS_PREFIX] = '';
  
          $this->parameters[self::PARAMETER_DOCUMENT_TYPE] = $this->storage->getDocumentTypes()->getDocumentTypeBySlug($this->documentType,
              true);
          $this->parameters[self::PARAMETER_DOCUMENT_TYPES] = $this->storage->getDocumentTypes()->getDocumentTypes();
          $this->parameters[self::PARAMETER_HIDE_TITLE_AND_STATE] = true;
          $this->parameters[self::PARAMETER_FORM_ID] = $this->formId;
      }
code: protected function initialize($storage)
      {
          $this->parameters[self::PARAMETER_SMALLEST_IMAGE] = $storage->getImageSet()->getSmallestImageSet();
          $this->parameters[self::PARAMETER_CMS_PREFIX] = '';
  
          $this->parameters[self::PARAMETER_DOCUMENT_TYPE] = $this->storage->getDocumentTypes()->getDocumentTypeBySlug($this->documentType,
              true);
          $this->parameters[self::PARAMETER_DOCUMENT_TYPES] = $this->storage->getDocumentTypes()->getDocumentTypes();
          $this->parameters[self::PARAMETER_HIDE_TITLE_AND_STATE] = true;
          $this->parameters[self::PARAMETER_FORM_ID] = $this->formId;
      }
code_tokens: protected function initialize ( $ storage ) { $ this -> parameters [ self :: PARAMETER_SMALLEST_IMAGE ] = $ storage -> getImageSet ( ) -> getSmallestImageSet ( ) ; $ this -> parameters [ self :: PARAMETER_CMS_PREFIX ] = '' ; $ this -> parameters [ self :: PARAMETER_DOCUMENT_TYPE ] = $ this -> storage -> getDocumentTypes ( ) -> getDocumentTypeBySlug ( $ this -> documentType , true ) ; $ this -> parameters [ self :: PARAMETER_DOCUMENT_TYPES ] = $ this -> storage -> getDocumentTypes ( ) -> getDocumentTypes ( ) ; $ this -> parameters [ self :: PARAMETER_HIDE_TITLE_AND_STATE ] = true ; $ this -> parameters [ self :: PARAMETER_FORM_ID ] = $ this -> formId ; }
docstring: Sets variables needed for rendering the form template
  
  @param Storage $storage
docstring_tokens: Sets variables needed for rendering the form template