コード例 #1
0
 /**
  * Get attributes for the body tag
  *
  * @return string[] Array of body-tag attributes
  */
 protected function getBodyTagAttributes()
 {
     $parameters = parent::getBodyTagAttributes();
     $parameters['data-site-url'] = $this->siteUrl;
     return $parameters;
 }
コード例 #2
0
 /**
  * Get attributes for the body tag
  *
  * @return string[] Array of body-tag attributes
  */
 protected function getBodyTagAttributes()
 {
     $parameters = parent::getBodyTagAttributes();
     $formEngineParameters['fieldChangeFunc'] = $this->parameters['fieldChangeFunc'];
     $formEngineParameters['fieldChangeFuncHash'] = GeneralUtility::hmac(serialize($this->parameters['fieldChangeFunc']));
     $parameters['data-add-on-params'] .= GeneralUtility::implodeArrayForUrl('P', $formEngineParameters);
     return $parameters;
 }
コード例 #3
0
 /**
  * Get attributes for the body tag
  *
  * @return string[] Array of body-tag attributes
  */
 protected function getBodyTagAttributes()
 {
     $parameters = parent::getBodyTagAttributes();
     $parameters['data-site-url'] = $this->siteUrl;
     $parameters['data-default-link-target'] = $this->defaultLinkTarget;
     return $parameters;
 }