/**
  * @param $control \Concrete\Core\Entity\Express\Control\TextControl
  * @param \SimpleXMLElement $xml
  */
 public function export($control, \SimpleXMLElement $xml)
 {
     $node = parent::export($control, $xml);
     $node->addAttribute('type-id', 'text');
     $service = new Xml();
     $service->createCDataNode($node, 'headline', $control->getHeadline());
     $service->createCDataNode($node, 'body', $control->getBody());
 }
 /**
  * @param $control \Concrete\Core\Entity\Express\Control\AttributeKeyControl
  * @param \SimpleXMLElement $xml
  */
 public function export($control, \SimpleXMLElement $xml)
 {
     $node = parent::export($control, $xml);
     $key = $control->getAttributeKey();
     if (is_object($key)) {
         return $key->getExporter()->export($key, $node);
     }
 }
 /**
  * @param $control \Concrete\Core\Entity\Express\Control\AssociationControl
  * @param \SimpleXMLElement $xml
  */
 public function export($control, \SimpleXMLElement $xml)
 {
     $node = parent::export($control, $xml);
     $node->addAttribute('association', $control->getAssociation()->getID());
 }