TYPO3 CMS  TYPO3_6-2
TextlineElement.php
Go to the documentation of this file.
1 <?php
3 
23 
29  protected $allowedAttributes = array(
30  'accesskey' => '',
31  'alt' => '',
32  'class' => '',
33  'dir' => '',
34  'disabled' => '',
35  'id' => '',
36  'lang' => '',
37  'maxlength' => '',
38  'name' => '',
39  'readonly' => '',
40  'size' => '',
41  'style' => '',
42  'tabindex' => '',
43  'title' => '',
44  'type' => 'text',
45  'value' => ''
46  );
47 
53  protected $mandatoryAttributes = array(
54  'name',
55  'id'
56  );
57 
67  if ($this->requestHandler->has($this->getName())) {
68  $value = $this->requestHandler->getByMethod($this->getName());
69  $value = $this->filter->filter($value);
70  $this->attributes->addAttribute('value', $value);
71  }
72  return $this;
73  }
74 
75 }