public function export($cxml)
 {
     $target = parent::export($cxml);
     $ct = PageType::getByID($this->ptID);
     if (is_object($ct)) {
         $target->addAttribute('pagetype', $ct->getPageTypeHandle());
     }
 }
 public function export($cxml)
 {
     $target = parent::export($cxml);
     $c = Page::getByID($this->cParentID);
     if (is_object($c) && !$c->isError()) {
         $target->addAttribute('path', $c->getCollectionPath());
     }
 }
 public function export($cxml)
 {
     $target = parent::export($cxml);
     if ($this->getStartingPointPageID()) {
         $c = Page::getByID($this->getStartingPointPageID(), 'ACTIVE');
         if (is_object($c) && !$c->isError()) {
             $target->addAttribute('path', $c->getCollectionPath());
         }
     }
     $target->addAttribute('form-factor', $this->getSelectorFormFactor());
 }