TYPO3 CMS  TYPO3_6-2
ContentElement.php
Go to the documentation of this file.
1 <?php
3 
23 
27  protected $elementType = self::ELEMENT_TYPE_CONTENT;
28 
32  protected $objectName;
33 
38 
44  protected $allowedAttributes = array();
45 
51  protected $mandatoryAttributes = array();
52 
60  public function setData($objectName, array $objectConfiguration) {
61  $this->objectName = $objectName;
62  $this->objectConfiguration = $objectConfiguration;
63  }
64 
72  public function getData() {
73  $data = $this->localCobj->cObjGetSingle($this->objectName, $this->objectConfiguration);
74  return $data;
75  }
76 
77 }
setData($objectName, array $objectConfiguration)