TYPO3 CMS  TYPO3_6-2
AbstractPlainElement.php
Go to the documentation of this file.
1 <?php
3 
23 
27  protected $elementType = self::ELEMENT_TYPE_PLAIN;
28 
34  protected $allowedAttributes = array();
35 
41  protected $mandatoryAttributes = array();
42 
46  protected $properties = array();
47 
54  public function setProperties(array $properties) {
55  $this->properties = $properties;
56  }
57 
63  public function getData() {
64  return $this->getContent();
65  }
66 
72  protected function getContent() {
73  $content = '';
74  if (isset($this->properties['content'])) {
75  $content = $this->properties['content'];
76  }
77  return $content;
78  }
79 
80 }