Esempio n. 1
0
 public function __construct($parentNodeID, $classIdentifier)
 {
     $this->functionName = 'xml';
     parent::__construct($parentNodeID, $classIdentifier);
     $this->tagStyle = self::USE_GENERIC_TAG;
     if (isset($this->options['XMLTagStyle']) && $this->options['XMLTagStyle'] == 'custom') {
         $this->tagStyle = self::USE_IDENTIFIER_TAG;
     }
 }
 public function __construct($parentNodeID, $classIdentifier)
 {
     $this->functionName = 'xml';
     parent::__construct($parentNodeID, $classIdentifier);
     $this->tagStyle = self::USE_GENERIC_TAG;
     if (isset($this->options['XMLTagStyle']) && $this->options['XMLTagStyle'] == 'custom') {
         $this->tagStyle = self::USE_IDENTIFIER_TAG;
     }
     $this->parentNodeID = $parentNodeID;
     $siteINI = eZINI::instance();
     $this->siteUrl = rtrim($siteINI->variable('SiteSettings', 'SiteURL'), '/');
 }
 public function __construct($parentNodeID, $classIdentifier)
 {
     parent::__construct($parentNodeID, $classIdentifier);
     $this->parentNodeID = $parentNodeID;
     //dati del parent (pagina trasparenza
     $parentNode = eZContentObjectTreeNode::fetch($this->parentNodeID);
     $parenObject = $parentNode->attribute('object');
     $parent_data_map = $parenObject->dataMap();
     if ($parent_data_map['anno_riferimento']) {
         $this->anno_pubblicazione = $parent_data_map['anno_riferimento']->content();
     }
     $this->createCSVHeader();
     $this->createErrorDescriptor();
 }
Esempio n. 4
0
 public function __construct($parentNodeID, $classIdentifier)
 {
     $this->functionName = 'csv';
     parent::__construct($parentNodeID, $classIdentifier);
 }