TYPO3 CMS  TYPO3_6-2
HiddenElement.php
Go to the documentation of this file.
1 <?php
3 
23 
29  protected $allowedAttributes = array(
30  'class' => '',
31  'id' => '',
32  'lang' => '',
33  'name' => '',
34  'style' => '',
35  'type' => 'hidden',
36  'value' => ''
37  );
38 
44  protected $mandatoryAttributes = array(
45  'name'
46  );
47 
57  if ($this->requestHandler->has($this->getName())) {
58  $value = $this->requestHandler->getByMethod($this->getName());
59  $value = $this->filter->filter($value);
60  $this->attributes->addAttribute('value', $value);
61  }
62  return $this;
63  }
64 
65 }